| Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
|
| index b5df7c7d85a7280cabc1ceb1b7f8dbe1ea063fec..ba88a32f2b25823e313338eae03cdd1b73c28d6a 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
|
| @@ -225,7 +225,7 @@ NSImage* GetImageFromResourceID(int resourceId) {
|
| // profile is Guest.
|
| bool useGenericButton = (!browser_->profile()->IsGuestSession() &&
|
| cache.GetNumberOfProfiles() == 1 &&
|
| - cache.GetUserNameOfProfileAtIndex(0).empty());
|
| + !cache.ProfileIsAuthenticatedAtIndex(0));
|
|
|
|
|
| NSString* buttonTitle = base::SysUTF16ToNSString(useGenericButton ?
|
|
|