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 9da859dfe0f3e2cc1979b9d992c8ebcd5de5a0a5..dcf6bbff4a0999c7d250aae4da79ea056b1845c8 100644 |
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc |
@@ -176,7 +176,9 @@ class HistoryURLProviderTest : public testing::Test, |
return new TemplateURLService( |
profile->GetPrefs(), make_scoped_ptr(new SearchTermsData), NULL, |
scoped_ptr<TemplateURLServiceClient>( |
- new ChromeTemplateURLServiceClient(profile)), |
+ new ChromeTemplateURLServiceClient( |
+ HistoryServiceFactory::GetForProfile( |
+ profile, Profile::EXPLICIT_ACCESS))), |
NULL, NULL, base::Closure()); |
} |