| Index: third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| index 3dbc908deca454c3caa331d6ea94dd9d70f0e53b..a82802ccb9167f9616b1138284d9b1371d0b1ea4 100644
|
| --- a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| @@ -147,6 +147,13 @@ void SpellCheckerClientImpl::requestCheckingOfString(TextCheckingRequest* reques
|
| m_webView->spellCheckClient()->requestCheckingOfText(text, markers, markerOffsets, new WebTextCheckingCompletionImpl(request));
|
| }
|
|
|
| +void SpellCheckerClientImpl::cancelAllPendingRequests()
|
| +{
|
| + if (!m_webView->spellCheckClient())
|
| + return;
|
| + m_webView->spellCheckClient()->cancelAllPendingRequests();
|
| +}
|
| +
|
| void SpellCheckerClientImpl::checkGrammarOfString(const String& text, WTF::Vector<GrammarDetail>& details, int* badGrammarLocation, int* badGrammarLength)
|
| {
|
| if (badGrammarLocation)
|
|
|