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

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

Issue 2823083003: [wip-test] Test if any bot test calls renderer SpellCheck IPC (Closed)
Patch Set: SpellCheck::OnEnableSpellCheck 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/renderer/spellcheck.cc
diff --git a/components/spellcheck/renderer/spellcheck.cc b/components/spellcheck/renderer/spellcheck.cc
index 697e0ed249970822188f28b263e6b7da9f36dd77..56083190671e3194cf423d5f4fd488e6a9559cb2 100644
--- a/components/spellcheck/renderer/spellcheck.cc
+++ b/components/spellcheck/renderer/spellcheck.cc
@@ -222,6 +222,8 @@ void SpellCheck::OnCustomDictionaryChanged(
}
void SpellCheck::OnEnableSpellCheck(bool enable) {
+ NOTREACHED(); // HACK to see if any try bot tests call here.
+
spellcheck_enabled_ = enable;
UpdateSpellcheckEnabled updater(enable);
content::RenderView::ForEach(&updater);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698