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

Unified Diff: chrome/browser/ui/cocoa/profiles/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: Rebase reviewed Created 6 years, 8 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/profiles/profile_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
index 437fb14c9b60f6ae9ad5344677235a0373a9cbec..28196220e920bfee2196892c73334e8eb3d43170 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
@@ -1216,7 +1216,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
- (NSView*)createGuestProfileView {
gfx::Image guestIcon =
ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
- IDR_LOGIN_GUEST);
+ profiles::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