diff options
Diffstat (limited to 'chrome/browser/search_engines/template_url_service_factory.cc')
-rw-r--r-- | chrome/browser/search_engines/template_url_service_factory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc index e626369..1b74546 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); |