Index: chrome/browser/sync/profile_sync_service_password_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
index e7cd3033299dfeaaf08480f581a6e60fb24515e9..59c7fced6f3ce85396d18362fa4984fe6f596bb0 100644 |
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
@@ -85,7 +85,8 @@ class NullPasswordStore : public MockPasswordStore { |
public: |
NullPasswordStore() {} |
- static scoped_refptr<RefcountedProfileKeyedService> Build(Profile* profile) { |
+ static scoped_refptr<RefcountedProfileKeyedService> Build( |
+ content::BrowserContext* profile) { |
return scoped_refptr<RefcountedProfileKeyedService>(); |
} |
@@ -128,7 +129,8 @@ class PasswordTestProfileSyncService : public TestProfileSyncService { |
QuitMessageLoop(); |
} |
- static ProfileKeyedService* Build(Profile* profile) { |
+ static ProfileKeyedService* Build(content::BrowserContext* context) { |
+ Profile* profile = static_cast<Profile*>(context); |
SigninManagerBase* signin = |
SigninManagerFactory::GetForProfile(profile); |
ProfileSyncComponentsFactoryMock* factory = |