Index: chrome/browser/extensions/api/identity/identity_apitest.cc |
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc |
index 0b04145ad3335ebf92d59ab6815254eac72ebccf..1004336c23f9170540f8c07b6b02ed993d50e506 100644 |
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc |
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc |
@@ -182,8 +182,8 @@ class TestOAuth2MintTokenFlow : public OAuth2MintTokenFlow { |
OAuth2MintTokenFlow::Delegate* delegate_; |
}; |
-ProfileKeyedService* IdentityAPITestFactory(Profile* profile) { |
- return new IdentityAPI(profile); |
+ProfileKeyedService* IdentityAPITestFactory(content::BrowserContext* profile) { |
+ return new IdentityAPI(static_cast<Profile*>(profile)); |
} |
} // namespace |