Index: chrome/browser/autocomplete/history_contents_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/history_contents_provider_unittest.cc b/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
index 22a38ca2645b5fcd1e333b2600c63ae7eadba61d..69075585534953a441b87d4249ab836cc65e96af 100644 |
--- a/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_contents_provider_unittest.cc |
@@ -68,8 +68,9 @@ class HistoryContentsProviderTest : public testing::Test, |
virtual bool BodyOnly() { return false; } |
private: |
- static ProfileKeyedService* CreateTemplateURLService(Profile* profile) { |
- return new TemplateURLService(profile); |
+ static ProfileKeyedService* CreateTemplateURLService( |
+ content::BrowserContext* profile) { |
+ return new TemplateURLService(static_cast<Profile*>(profile)); |
} |
// testing::Test |