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

Unified Diff: chrome/browser/ui/webui/options/chromeos/language_options_util.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/language_options_util.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/language_options_util.cc b/chrome/browser/ui/webui/options/chromeos/language_options_util.cc
index e8e996fc1cc28a55cfc0752cc19f62f31ce038b9..34092fa6ff97d579659f6afdeedeef1407d55928 100644
--- a/chrome/browser/ui/webui/options/chromeos/language_options_util.cc
+++ b/chrome/browser/ui/webui/options/chromeos/language_options_util.cc
@@ -9,7 +9,7 @@ namespace options {
// See comments in .h.
Value* CreateValue(const char* in_value) {
- return Value::CreateStringValue(in_value);
+ return new base::StringValue(in_value);
}
Value* CreateValue(int in_value) {

Powered by Google App Engine
This is Rietveld 408576698