Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

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

Issue 2791753003: Split WebTextCheckClient off WebSpellCheckClient (Closed)
Patch Set: Add TODOs for class renaming Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}
}
« no previous file with comments | « components/spellcheck/renderer/spellcheck_provider.h ('k') | content/shell/test_runner/spell_check_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698