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

Unified Diff: components/spellcheck/browser/spelling_service_client.cc

Issue 2254533003: Rename spellcheck::pref::kEnableContinuousSpellcheck to ...::kEnableSpellcheck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « components/spellcheck/browser/pref_names.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/browser/spelling_service_client.cc
diff --git a/components/spellcheck/browser/spelling_service_client.cc b/components/spellcheck/browser/spelling_service_client.cc
index 46b4d3813039292b343c7fc414b60786ad95b615..44c51ccb695ffd6c1e79d254b933475423a8853e 100644
--- a/components/spellcheck/browser/spelling_service_client.cc
+++ b/components/spellcheck/browser/spelling_service_client.cc
@@ -124,7 +124,7 @@ bool SpellingServiceClient::IsAvailable(content::BrowserContext* context,
// If prefs don't allow spellchecking, if the context is off the record, or if
// multilingual spellchecking is enabled the spelling service should be
// unavailable.
- if (!pref->GetBoolean(spellcheck::prefs::kEnableContinuousSpellcheck) ||
+ if (!pref->GetBoolean(spellcheck::prefs::kEnableSpellcheck) ||
!pref->GetBoolean(spellcheck::prefs::kSpellCheckUseSpellingService) ||
context->IsOffTheRecord())
return false;
« no previous file with comments | « components/spellcheck/browser/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698