Add missing kSpellCheckDictionaries preference (issue #1682)

This commit is contained in:
Marshall Greenblatt 2015-08-07 15:04:50 -04:00
parent 6cb3be7395
commit 560b881a2f

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()) {