Index: chrome/browser/autocomplete/history_url_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc |
index 6c7b4c024f054b67686b600886189a091a5b9651..9c9667ebd9da789a0fc592dffefaaaa08bf3be75 100644 |
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc |
@@ -148,8 +148,9 @@ class HistoryURLProviderTest : public testing::Test, |
virtual void OnProviderUpdate(bool updated_matches) OVERRIDE; |
protected: |
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) { |
- return new TemplateURLService(profile); |
+ static ProfileKeyedService* CreateTemplateURLService( |
+ content::BrowserContext* profile) { |
+ return new TemplateURLService(static_cast<Profile*>(profile)); |
} |
// testing::Test |