Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm |
index 2a4958e4bd583e1341289ee2271222bd444f5abf..2b1afd93244af47a3c7dac178ce980f0d7e9ef6f 100644 |
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm |
@@ -370,7 +370,7 @@ TEST_F(ProfileChooserControllerTest, AccountManagementLayout) { |
// Set up the signin manager and the OAuth2Tokens. |
Profile* profile = browser()->profile(); |
SigninManagerFactory::GetForProfile(profile)-> |
- SetAuthenticatedUsername(kEmail); |
+ SetAuthenticatedAccountInfo(kEmail, kEmail); |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile)-> |
UpdateCredentials(kEmail, kLoginToken); |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile)-> |