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 0231499f2ebc3f9c5c2f4cdfc047d082e6e1372f..69cba73cdcea58dc8d92f0d20c4497fdf7979bf8 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()); |
} |