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

Unified Diff: chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm

Issue 212603011: Newly created profiles should have the grey silhouette as avatar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo changes to (.png) image resources. Created 6 years, 9 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/cocoa/browser/profile_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
index eaf91f2ba3562727f8b6f6b05129dbc8b4a08172..46c57272e7e650af1a0af1896059cd8d759fcb04 100644
--- a/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
@@ -930,7 +930,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
- (NSView*)createGuestProfileView {
gfx::Image guestIcon =
ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
- IDR_LOGIN_GUEST);
+ ProfileInfoCache::GetPlaceholderAvatarIconResourceID());
AvatarMenu::Item guestItem(std::string::npos, /* menu_index, not used */
std::string::npos, /* profile_index, not used */
guestIcon);

Powered by Google App Engine
This is Rietveld 408576698