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 29afe4656c062367f0de181eae0430a6f5dd7c9a..7588e5c1b7e5b54ad3a17111e123b6e2b79fcc27 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm |
@@ -1706,7 +1706,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver, |
frameOrigin:rect.origin |
action:linkSelector]; |
} else { |
- link = [self linkButtonWithTitle:base::SysUTF16ToNSString(item.sync_state) |
+ link = [self linkButtonWithTitle:base::SysUTF16ToNSString(item.username) |
frameOrigin:rect.origin |
action:nil]; |
if (HasAuthError(browser_->profile())) { |
@@ -1720,7 +1720,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver, |
[[link cell] |
accessibilitySetOverrideValue:l10n_util::GetNSStringF( |
IDS_PROFILES_ACCOUNT_BUTTON_AUTH_ERROR_ACCESSIBLE_NAME, |
- item.sync_state) |
+ item.username) |
forAttribute:NSAccessibilityTitleAttribute]; |
} else { |
[link setEnabled:NO]; |