Update Spellcheck API

Update WebTexhCheckingCompletion as per chromium 0e8c828e02
This commit is contained in:
Nitish Sakhawalkar 2019-05-16 21:58:03 -07:00
parent 2d14a0e90d
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: