| Index: chrome/browser/search_engines/template_url_service_test_util.cc
|
| diff --git a/chrome/browser/search_engines/template_url_service_test_util.cc b/chrome/browser/search_engines/template_url_service_test_util.cc
|
| index 11a6efdacafdf14b4cfc0d6974ff9ce59b18c1f7..2bdaf8b88e51978e0a8843e758bd5f5b72f5e993 100644
|
| --- a/chrome/browser/search_engines/template_url_service_test_util.cc
|
| +++ b/chrome/browser/search_engines/template_url_service_test_util.cc
|
| @@ -97,7 +97,9 @@ void TemplateURLServiceTestUtilBase::ChangeModelToLoadState() {
|
| // Initialize the web data service so that the database gets updated with
|
| // any changes made.
|
|
|
| - model()->service_ = WebDataService::FromBrowserContext(profile());
|
| + model()->web_data_service_ =
|
| + WebDataServiceFactory::GetKeywordWebDataForProfile(
|
| + profile(), Profile::EXPLICIT_ACCESS);
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
|
|