| Index: chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| diff --git a/chrome/browser/signin/profile_oauth2_token_service_factory.cc b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| index 854c5b4736815cb850d1efe0acd3f6c21a88312f..a8b65afc0a9e70fc8f5230aee26455dc2f700b58 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| @@ -49,12 +49,12 @@ ProfileOAuth2TokenServiceFactory*
|
|
|
| KeyedService* ProfileOAuth2TokenServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| #if defined(OS_ANDROID)
|
| OAuth2TokenServiceDelegateAndroid* delegate =
|
| - new OAuth2TokenServiceDelegateAndroid();
|
| - delegate->Initialize();
|
| + new OAuth2TokenServiceDelegateAndroid(
|
| + AccountTrackerServiceFactory::GetInstance()->GetForProfile(profile));
|
| #else
|
| - Profile* profile = static_cast<Profile*>(context);
|
| MutableProfileOAuth2TokenServiceDelegate* delegate =
|
| new MutableProfileOAuth2TokenServiceDelegate(
|
| ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
|
|