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

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

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 years, 4 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/options/chromeos/change_picture_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
index 1ade2cb6fd45faaad00781b061f2e570d475db6e..11a58d1ef1715753ac8cd06b7f827dcf9e327518 100644
--- a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.cc
@@ -128,7 +128,7 @@ void ChangePictureOptionsHandler::HandleGetAvailableImages(
DCHECK(args && args->empty());
ListValue image_urls;
for (int i = 0; i < kDefaultImagesCount; ++i) {
- image_urls.Append(new StringValue(GetDefaultImageUrl(i)));
+ image_urls.Append(base::StringValue::New(GetDefaultImageUrl(i)));
}
web_ui_->CallJavascriptFunction("ChangePictureOptions.addUserImages",
image_urls);

Powered by Google App Engine
This is Rietveld 408576698