mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add missing kSpellCheckDictionaries preference (issue #1682)
This commit is contained in:
@@ -97,6 +97,8 @@ scoped_ptr<PrefService> CefBrowserPrefStore::CreateService() {
|
|||||||
|
|
||||||
// Spell checking settings.
|
// Spell checking settings.
|
||||||
// Based on SpellcheckServiceFactory::RegisterProfilePrefs.
|
// Based on SpellcheckServiceFactory::RegisterProfilePrefs.
|
||||||
|
registry->RegisterListPref(prefs::kSpellCheckDictionaries,
|
||||||
|
new base::ListValue);
|
||||||
std::string spellcheck_lang =
|
std::string spellcheck_lang =
|
||||||
command_line->GetSwitchValueASCII(switches::kOverrideSpellCheckLang);
|
command_line->GetSwitchValueASCII(switches::kOverrideSpellCheckLang);
|
||||||
if (!spellcheck_lang.empty()) {
|
if (!spellcheck_lang.empty()) {
|
||||||
|
Reference in New Issue
Block a user