| Index: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| index 701d204c2be30d0c1996c3cd483314d17ca018c3..c66ffa6fc7786033fc98642acb20aac951f76d43 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -73,7 +73,7 @@
|
| #include "public/web/WebMenuItemInfo.h"
|
| #include "public/web/WebPlugin.h"
|
| #include "public/web/WebSearchableFormData.h"
|
| -#include "public/web/WebSpellCheckClient.h"
|
| +#include "public/web/WebTextCheckClient.h"
|
| #include "public/web/WebViewClient.h"
|
| #include "web/ContextMenuAllowedScope.h"
|
| #include "web/WebDataSourceImpl.h"
|
| @@ -328,9 +328,9 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
|
| Vector<String> suggestions;
|
| description.split('\n', suggestions);
|
| data.dictionarySuggestions = suggestions;
|
| - } else if (m_webView->spellCheckClient()) {
|
| + } else if (m_webView->textCheckClient()) {
|
| int misspelledOffset, misspelledLength;
|
| - m_webView->spellCheckClient()->checkSpelling(
|
| + m_webView->textCheckClient()->checkSpelling(
|
| data.misspelledWord, misspelledOffset, misspelledLength,
|
| &data.dictionarySuggestions);
|
| }
|
|
|