| Index: chrome/browser/chromeos/login/oauth2_login_verifier.cc
|
| diff --git a/chrome/browser/chromeos/login/oauth2_login_verifier.cc b/chrome/browser/chromeos/login/oauth2_login_verifier.cc
|
| index 70bfc5cb15199104f4003c94fee92bc974d0dcca..5b6a44742f80a7740599e24bc2f988d77f7d2856 100644
|
| --- a/chrome/browser/chromeos/login/oauth2_login_verifier.cc
|
| +++ b/chrome/browser/chromeos/login/oauth2_login_verifier.cc
|
| @@ -76,9 +76,13 @@ void OAuth2LoginVerifier::VerifyProfileTokens(Profile* profile) {
|
| void OAuth2LoginVerifier::StartFetchingOAuthLoginAccessToken(Profile* profile) {
|
| OAuth2TokenService::ScopeSet scopes;
|
| scopes.insert(GaiaUrls::GetInstance()->oauth1_login_scope());
|
| - login_token_request_ = ProfileOAuth2TokenServiceFactory::
|
| - GetForProfile(profile)->StartRequestWithContext(
|
| - system_request_context_.get(), scopes, this);
|
| + ProfileOAuth2TokenService* token_service =
|
| + ProfileOAuth2TokenServiceFactory::GetForProfile(profile);
|
| + login_token_request_ = token_service->StartRequestWithContext(
|
| + token_service->GetPrimaryAccountId(),
|
| + system_request_context_.get(),
|
| + scopes,
|
| + this);
|
| }
|
|
|
| void OAuth2LoginVerifier::StartOAuthLoginForUberToken() {
|
|
|