Chromium Code Reviews

Unified Diff: components/spellcheck/renderer/spellcheck_provider.cc

Issue 2791753003: Split WebTextCheckClient off WebSpellCheckClient (Closed)
Patch Set: Make SpellCheckClient implement WebTextCheckClient only Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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());
}
}

Powered by Google App Engine