Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index 6921fb01f9e7f196dbfc6c3b03646d2d3247fa0c..dd1498133ea2376db7e178e347b5668ae1933ae2 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -329,6 +329,10 @@ void WebViewImpl::setSpellCheckClient(WebSpellCheckClient* spellCheckClient) { |
m_spellCheckClient = spellCheckClient; |
} |
+void WebViewImpl::setTextCheckClient(WebTextCheckClient* textCheckClient) { |
+ m_textCheckClient = textCheckClient; |
+} |
+ |
// static |
HashSet<WebViewImpl*>& WebViewImpl::allInstances() { |
DEFINE_STATIC_LOCAL(HashSet<WebViewImpl*>, allInstances, ()); |
@@ -339,6 +343,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client, |
WebPageVisibilityState visibilityState) |
: m_client(client), |
m_spellCheckClient(nullptr), |
+ m_textCheckClient(nullptr), |
m_chromeClientImpl(ChromeClientImpl::create(this)), |
m_contextMenuClientImpl(this), |
m_editorClientImpl(this), |