| 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 55bca667335bcd51bc6858b9e06a6f40ceaf6085..72d52bdf5e77999d7de5d135c5d26615c3c70c6d 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| @@ -47,12 +47,13 @@ ProfileOAuth2TokenServiceFactory*
|
|
|
| KeyedService* ProfileOAuth2TokenServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| #if defined(OS_ANDROID)
|
| OAuth2TokenServiceDelegateAndroid* delegate =
|
| new OAuth2TokenServiceDelegateAndroid();
|
| - delegate->Initialize();
|
| + delegate->Initialize(
|
| + AccountTrackerServiceFactory::GetInstance()->GetForProfile(profile));
|
| #else
|
| - Profile* profile = static_cast<Profile*>(context);
|
| MutableProfileOAuth2TokenServiceDelegate* delegate =
|
| new MutableProfileOAuth2TokenServiceDelegate(
|
| ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
|
|