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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/user_image_source.cc

Issue 10850036: [cros] Add attribution (author & website) strings to stock user images. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 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
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/chromeos/user_image_source.cc
diff --git a/chrome/browser/ui/webui/options2/chromeos/user_image_source.cc b/chrome/browser/ui/webui/options2/chromeos/user_image_source.cc
index 57f4438b5f35fc7e4f374d5746e5b09910c5a278..b24a61c5126bc2f5b3be44c80e81d08d7e508169 100644
--- a/chrome/browser/ui/webui/options2/chromeos/user_image_source.cc
+++ b/chrome/browser/ui/webui/options2/chromeos/user_image_source.cc
@@ -75,7 +75,7 @@ base::RefCountedMemory* UserImageSource::GetUserImage(
return new base::RefCountedBytes(user->raw_image());
} else if (user->HasDefaultImage()) {
return ResourceBundle::GetSharedInstance().
- LoadDataResourceBytes(kDefaultImageResources[user->image_index()],
+ LoadDataResourceBytes(kDefaultImageResourceIDs[user->image_index()],
scale_factor);
} else {
NOTREACHED() << "User with custom image missing raw data";
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698