Index: chrome/browser/search_engines/template_url_service_factory.cc |
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc |
index e626369cff970e5f6740ea426646fdd3431037ba..1b745464cd06878f3b23c325cc2bf487835742e6 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.cc |
+++ b/chrome/browser/search_engines/template_url_service_factory.cc |
@@ -50,8 +50,9 @@ KeyedService* TemplateURLServiceFactory::BuildInstanceFor( |
scoped_ptr<SearchTermsData>(new UIThreadSearchTermsData(profile)), |
WebDataServiceFactory::GetKeywordWebDataForProfile( |
profile, Profile::EXPLICIT_ACCESS), |
- scoped_ptr<TemplateURLServiceClient>( |
- new ChromeTemplateURLServiceClient(profile)), |
+ scoped_ptr<TemplateURLServiceClient>(new ChromeTemplateURLServiceClient( |
+ HistoryServiceFactory::GetForProfile(profile, |
+ Profile::EXPLICIT_ACCESS))), |
GoogleURLTrackerFactory::GetForProfile(profile), |
g_browser_process->rappor_service(), |
dsp_change_callback); |