Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(987)

Unified Diff: chrome/browser/dom_ui/options/language_options_handler_common.cc

Issue 6525005: Revert r74860 as it broke arm: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/options/dom_options_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/options/language_options_handler_common.cc
diff --git a/chrome/browser/dom_ui/options/language_options_handler_common.cc b/chrome/browser/dom_ui/options/language_options_handler_common.cc
index e2e4403c186dcf0c6b611351aeb30fab99f56577..3d5a7f479e9906c931cb38997696014896a3dd05 100644
--- a/chrome/browser/dom_ui/options/language_options_handler_common.cc
+++ b/chrome/browser/dom_ui/options/language_options_handler_common.cc
@@ -97,8 +97,8 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
bool experimental_spell_check_features =
command_line.HasSwitch(switches::kExperimentalSpellcheckerFeatures);
- localized_strings->SetBoolean("experimentalSpellCheckFeatures",
- experimental_spell_check_features);
+ localized_strings->SetString("experimentalSpellCheckFeatures",
+ experimental_spell_check_features ? "true" : "false");
}
void LanguageOptionsHandlerCommon::RegisterMessages() {
« no previous file with comments | « chrome/browser/dom_ui/options/dom_options_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698