| Index: chrome/browser/spellchecker/spellcheck_factory.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_factory.cc b/chrome/browser/spellchecker/spellcheck_factory.cc
|
| index fd1f7334e9cca34c9eb900f974f8733014e32b86..a90b69312fe87e3996646ce180896020bdc3c61a 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_factory.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_factory.cc
|
| @@ -45,23 +45,24 @@ ProfileKeyedService* SpellcheckServiceFactory::BuildServiceInstanceFor(
|
| return spellcheck;
|
| }
|
|
|
| -void SpellcheckServiceFactory::RegisterUserPrefs(PrefService* user_prefs) {
|
| +void SpellcheckServiceFactory::RegisterUserPrefs(
|
| + PrefServiceSyncable* user_prefs) {
|
| // TODO(estade): IDS_SPELLCHECK_DICTIONARY should be an ASCII string.
|
| user_prefs->RegisterLocalizedStringPref(prefs::kSpellCheckDictionary,
|
| IDS_SPELLCHECK_DICTIONARY,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterBooleanPref(prefs::kSpellCheckConfirmDialogShown,
|
| false,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterBooleanPref(prefs::kSpellCheckUseSpellingService,
|
| false,
|
| - PrefService::UNSYNCABLE_PREF);
|
| + PrefServiceSyncable::UNSYNCABLE_PREF);
|
| user_prefs->RegisterBooleanPref(prefs::kEnableContinuousSpellcheck,
|
| true,
|
| - PrefService::SYNCABLE_PREF);
|
| + PrefServiceSyncable::SYNCABLE_PREF);
|
| user_prefs->RegisterBooleanPref(prefs::kEnableAutoSpellCorrect,
|
| false,
|
| - PrefService::SYNCABLE_PREF);
|
| + PrefServiceSyncable::SYNCABLE_PREF);
|
| }
|
|
|
| bool SpellcheckServiceFactory::ServiceRedirectedInIncognito() const {
|
|
|