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

Unified Diff: chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc

Issue 11415226: webui/options: Do not use Value::CreateStringValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/ui/webui/options/chromeos/keyboard_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
index 4bf72fe8656d330251cfe404cdbe0e8dcc849a3d..f763975eb5f640db595ffe9c94a393dabd4b2830 100644
--- a/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
@@ -81,7 +81,7 @@ void KeyboardHandler::GetLocalizedValues(DictionaryValue* localized_strings) {
}
ListValue* option = new ListValue();
option->Append(Value::CreateIntegerValue(value));
- option->Append(Value::CreateStringValue(l10n_util::GetStringUTF16(
+ option->Append(new base::StringValue(l10n_util::GetStringUTF16(
message_id)));
list_value->Append(option);
}

Powered by Google App Engine
This is Rietveld 408576698