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

Unified Diff: chrome/browser/ui/webui/version_handler.cc

Issue 372103006: Stamp out CreateStringValue in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/ui/webui/version_handler.cc
diff --git a/chrome/browser/ui/webui/version_handler.cc b/chrome/browser/ui/webui/version_handler.cc
index 5e8672d7c1f3853f516a426877773dcceee99722..28947010821907827e643ec7e6729a6df81bb786 100644
--- a/chrome/browser/ui/webui/version_handler.cc
+++ b/chrome/browser/ui/webui/version_handler.cc
@@ -107,7 +107,7 @@ void VersionHandler::HandleRequestVersionInfo(const base::ListValue* args) {
base::ListValue variations_list;
for (std::vector<std::string>::const_iterator it = variations.begin();
it != variations.end(); ++it) {
- variations_list.Append(base::Value::CreateStringValue(*it));
+ variations_list.Append(new base::StringValue(*it));
}
// In release mode, this will return an empty list to clear the section.

Powered by Google App Engine
This is Rietveld 408576698