| 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 f9fb6478b58b947fbb2f5f60961e0ba8d6b1e066..8f1723ce6673487be7cde0f977c42f7ee3c3db71 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| @@ -38,7 +38,8 @@ ProfileOAuth2TokenServiceFactory*
|
| }
|
|
|
| ProfileKeyedService* ProfileOAuth2TokenServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| ProfileOAuth2TokenService* service;
|
| #if defined(OS_ANDROID)
|
| service = new AndroidProfileOAuth2TokenService(profile->GetRequestContext());
|
|
|