Index: chrome/browser/ui/webui/options/language_options_handler_common.cc |
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc |
index 0cfd34b19f4b776814e7b828d538ae14b6fa879b..404803cf3f78d32d26fa4aa0a00c37be72757819 100644 |
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc |
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc |
@@ -125,6 +125,11 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues( |
localized_strings->SetBoolean("enableSpellingAutoCorrect", |
enable_spelling_auto_correct); |
+ bool enable_multilingual_spellchecker = |
+ command_line.HasSwitch(switches::kEnableMultilingualSpellChecker); |
+ localized_strings->SetBoolean("enableMultilingualSpellChecker", |
+ enable_multilingual_spellchecker); |
please use gerrit instead
2015/02/23 18:51:48
Please inline "enable_multilingual_spellchecker."
Klemen Forstnerič
2015/02/24 21:57:46
Done. It was a conscious decision though, because
please use gerrit instead
2015/02/24 23:38:38
I see. Although we usually prefer to follow the co
|
+ |
Profile* profile = Profile::FromWebUI(web_ui()); |
PrefService* prefs = profile->GetPrefs(); |
std::string default_target_language = |