Index: chrome/browser/sync/profile_sync_service_mock.cc |
diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc |
index ce20e93722383c4b47a7458a9b041c8584374622..48f561f3ff14ce70f7b57c61bb32b98aa24bd044 100644 |
--- a/chrome/browser/sync/profile_sync_service_mock.cc |
+++ b/chrome/browser/sync/profile_sync_service_mock.cc |
@@ -36,6 +36,6 @@ TestingProfile* ProfileSyncServiceMock::MakeSignedInTestingProfile() { |
// static |
ProfileKeyedService* ProfileSyncServiceMock::BuildMockProfileSyncService( |
- Profile* profile) { |
- return new ProfileSyncServiceMock(profile); |
+ content::BrowserContext* profile) { |
+ return new ProfileSyncServiceMock(static_cast<Profile*>(profile)); |
} |