| Index: chrome/browser/signin/profile_oauth2_token_service.cc
|
| diff --git a/chrome/browser/signin/profile_oauth2_token_service.cc b/chrome/browser/signin/profile_oauth2_token_service.cc
|
| index b09138700815f64c9b1ea75d525b5220d74b2540..2eaf5e81d077c9e46a1dccec4a430af16834dd3e 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service.cc
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service.cc
|
| @@ -213,7 +213,7 @@ std::string ProfileOAuth2TokenService::GetPrimaryAccountId() {
|
| return std::string("SupervisedUser");
|
|
|
| SigninManagerBase* signin_manager =
|
| - SigninManagerFactory::GetForProfileIfExists(profile_);
|
| + SigninManagerFactory::GetForBrowserContextIfExists(profile_);
|
| // TODO(fgorski): DCHECK(signin_manager) here - it may require update to test
|
| // code and the line above (SigninManager might not exist yet).
|
| return signin_manager ? signin_manager->GetAuthenticatedUsername()
|
|
|