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

Unified Diff: trunk/src/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm

Issue 234583008: Revert 263262 "Newly created profiles should have the grey silho..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm (revision 263283)
+++ trunk/src/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm (working copy)
@@ -99,8 +99,8 @@
Profile* profile = browser_->profile();
if (profile->IsOffTheRecord() || profile->IsGuestSession()) {
- const int icon_id = profile->IsGuestSession() ?
- profiles::GetPlaceholderAvatarIconResourceID() : IDR_OTR_ICON;
+ const int icon_id = profile->IsGuestSession() ? IDR_LOGIN_GUEST :
+ IDR_OTR_ICON;
NSImage* icon = ResourceBundle::GetSharedInstance().GetNativeImageNamed(
icon_id).ToNSImage();
[self setImage:[self compositeImageWithShadow:icon]];

Powered by Google App Engine
This is Rietveld 408576698