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

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

Issue 6490016: DOM UI options handler cleanup: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: indent 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
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 5c9e515d9f4fd9d3680837a30c385a8c90288871..08e1c218ff406f110d8319c9a11e71afbee818cf 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->SetString("experimentalSpellCheckFeatures",
- experimental_spell_check_features ? "true" : "false");
+ localized_strings->SetBoolean("experimentalSpellCheckFeatures",
+ experimental_spell_check_features);
}
void LanguageOptionsHandlerCommon::RegisterMessages() {

Powered by Google App Engine
This is Rietveld 408576698