Add missing kSpellCheckDictionaries preference (issue #1682)

This commit is contained in:
Marshall Greenblatt
2015-08-07 15:04:50 -04:00
parent 6f8a6f1c40
commit 97ba8b5fbd

View File

@@ -97,6 +97,8 @@ scoped_ptr<PrefService> CefBrowserPrefStore::CreateService() {
// Spell checking settings.
// Based on SpellcheckServiceFactory::RegisterProfilePrefs.
registry->RegisterListPref(prefs::kSpellCheckDictionaries,
new base::ListValue);
std::string spellcheck_lang =
command_line->GetSwitchValueASCII(switches::kOverrideSpellCheckLang);
if (!spellcheck_lang.empty()) {