Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc |
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
index a2ea2902a2a67d3bd583eb76ec3b8349bcb19f0c..49976438e53095daa4f603dafbec188a70571904 100644 |
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
@@ -128,15 +128,6 @@ std::string GetAuthErrorAccountId(Profile* profile) { |
return error->error_account_id(); |
} |
-std::string GetAuthErrorUsername(Profile* profile) { |
- const SigninErrorController* error = |
- profiles::GetSigninErrorController(profile); |
- if (!error) |
- return std::string(); |
- |
- return error->error_username(); |
-} |
- |
// BackgroundColorHoverButton ------------------------------------------------- |
// A custom button that allows for setting a background color when hovered over. |
@@ -1489,7 +1480,7 @@ views::View* ProfileChooserView::CreateGaiaSigninView() { |
case profiles::BUBBLE_VIEW_MODE_GAIA_REAUTH: { |
DCHECK(HasAuthError(browser_->profile())); |
url = signin::GetReauthURL(browser_->profile(), |
- GetAuthErrorUsername(browser_->profile())); |
+ GetAuthErrorAccountId(browser_->profile())); |
message_id = IDS_PROFILES_GAIA_REAUTH_TITLE; |
break; |
} |