Index: components/spellcheck/renderer/spellcheck_provider.cc |
diff --git a/components/spellcheck/renderer/spellcheck_provider.cc b/components/spellcheck/renderer/spellcheck_provider.cc |
index bddbfaaa543e186eb6b45fd4de81445eb2fda97f..0109d16927304430ce61e992e00755d2650440de 100644 |
--- a/components/spellcheck/renderer/spellcheck_provider.cc |
+++ b/components/spellcheck/renderer/spellcheck_provider.cc |
@@ -44,6 +44,7 @@ SpellCheckProvider::SpellCheckProvider( |
DCHECK(spellcheck_); |
if (render_view) { // NULL in unit tests. |
render_view->GetWebView()->setSpellCheckClient(this); |
+ render_view->GetWebView()->setTextCheckClient(this); |
EnableSpellcheck(spellcheck_->IsSpellcheckEnabled()); |
} |
} |