Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
index 0070353c8ab6055d818152f1e1c7271cc7b526ac..99608b98b842e48e78aa8768061c3e6339f5eb8a 100644 |
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
@@ -101,8 +101,8 @@ class HistoryServiceMock : public HistoryService { |
virtual ~HistoryServiceMock() {} |
}; |
-ProfileKeyedService* BuildHistoryService(Profile* profile) { |
- return new HistoryServiceMock(profile); |
+ProfileKeyedService* BuildHistoryService(content::BrowserContext* profile) { |
+ return new HistoryServiceMock(static_cast<Profile*>(profile)); |
} |
class TestTypedUrlModelAssociator : public TypedUrlModelAssociator { |