Index: chrome/browser/autocomplete/history_quick_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc |
index 4afb262b9303857457c790697d083a61f90cd62e..1630ab2aae19394f6ef6ae764ea9c82ab727eeba 100644 |
--- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc |
@@ -111,8 +111,9 @@ class HistoryQuickProviderTest : public testing::Test, |
std::set<std::string> matches_; |
}; |
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) { |
- return new TemplateURLService(profile); |
+ static ProfileKeyedService* CreateTemplateURLService( |
+ content::BrowserContext* profile) { |
+ return new TemplateURLService(static_cast<Profile*>(profile)); |
} |
virtual void SetUp(); |