Index: chrome/browser/sync/test_profile_sync_service.cc |
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc |
index 71f2a3d9c7b3c1618ddd8cacea1f37b5241897d9..0ea5c31aaf8e3fcf10c1b342c39dee801619a2f5 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -228,7 +228,8 @@ TestProfileSyncService::~TestProfileSyncService() { |
// static |
ProfileKeyedService* TestProfileSyncService::BuildAutoStartAsyncInit( |
- Profile* profile) { |
+ content::BrowserContext* context) { |
+ Profile* profile = static_cast<Profile*>(context); |
SigninManagerBase* signin = |
SigninManagerFactory::GetForProfile(profile); |
ProfileSyncComponentsFactoryMock* factory = |