7509043: update WebSpellingMarker type for API change

The upstream Chromium API changed - WebSpellingMarker was moved from a
nested type within WebTextCheckClient to a standalone type in the blink
namespace.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7509043
This commit is contained in:
Keeley Hammond
2026-01-28 17:15:17 -08:00
parent eac146ef8e
commit 5ca2df8806
2 changed files with 2 additions and 4 deletions

View File

@@ -91,8 +91,7 @@ SpellCheckClient::~SpellCheckClient() {
void SpellCheckClient::RequestCheckingOfText(
const blink::WebString& text_to_check,
const std::vector<
WebTextCheckClient::WebSpellingMarker>& /* spelling_markers */,
const std::vector<blink::WebSpellingMarker>& /* spelling_markers */,
ShouldForceRefreshTextCheckService /* should_force_refresh */,
std::unique_ptr<blink::WebTextCheckingCompletion> completion_callback) {
std::u16string text(text_to_check.Utf16());

View File

@@ -44,8 +44,7 @@ class SpellCheckClient : public blink::WebSpellCheckPanelHostClient,
// blink::WebTextCheckClient:
void RequestCheckingOfText(
const blink::WebString& text_to_check,
const std::vector<WebTextCheckClient::WebSpellingMarker>&
spelling_markers,
const std::vector<blink::WebSpellingMarker>& spelling_markers,
ShouldForceRefreshTextCheckService should_force_refresh,
std::unique_ptr<blink::WebTextCheckingCompletion> completion_callback)
override;