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

Unified Diff: chrome/browser/spellchecker/spellcheck_factory.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
Index: chrome/browser/spellchecker/spellcheck_factory.cc
diff --git a/chrome/browser/spellchecker/spellcheck_factory.cc b/chrome/browser/spellchecker/spellcheck_factory.cc
index 64cbbacc0d05ebd069ff871c989158d5df5d0c5c..3857256a3d4db0bbbb006dbbba973ef681f6b535 100644
--- a/chrome/browser/spellchecker/spellcheck_factory.cc
+++ b/chrome/browser/spellchecker/spellcheck_factory.cc
@@ -61,7 +61,7 @@ KeyedService* SpellcheckServiceFactory::BuildServiceInstanceFor(
// Instantiates Metrics object for spellchecking for use.
spellcheck->StartRecordingMetrics(
- prefs->GetBoolean(spellcheck::prefs::kEnableContinuousSpellcheck));
+ prefs->GetBoolean(spellcheck::prefs::kEnableSpellcheck));
return spellcheck;
}
@@ -83,7 +83,7 @@ void SpellcheckServiceFactory::RegisterProfilePrefs(
uint32_t flags = user_prefs::PrefRegistrySyncable::SYNCABLE_PREF;
#endif
user_prefs->RegisterBooleanPref(
- spellcheck::prefs::kEnableContinuousSpellcheck, true, flags);
+ spellcheck::prefs::kEnableSpellcheck, true, flags);
}
content::BrowserContext* SpellcheckServiceFactory::GetBrowserContextToUse(

Powered by Google App Engine
This is Rietveld 408576698