Update Spellcheck API

Update WebTexhCheckingCompletion as per chromium https://chromium.googlesource.com/chromium/src/+/0e8c828e02258bc530ef540b88dc087b76616fc7
This commit is contained in:
Nitish Sakhawalkar 2019-05-16 21:58:03 -07:00
commit 8a7de89b97
2 changed files with 16 additions and 13 deletions

View file

@ -38,9 +38,9 @@ class SpellCheckClient : public blink::WebSpellCheckPanelHostClient,
private:
class SpellcheckRequest;
// blink::WebTextCheckClient:
void RequestCheckingOfText(
const blink::WebString& textToCheck,
blink::WebTextCheckingCompletion* completionCallback) override;
void RequestCheckingOfText(const blink::WebString& textToCheck,
std::unique_ptr<blink::WebTextCheckingCompletion>
completionCallback) override;
bool IsSpellCheckingEnabled() const override;
// blink::WebSpellCheckPanelHostClient: