| Index: chrome/browser/search_engines/search_provider_install_data.cc
|
| diff --git a/chrome/browser/search_engines/search_provider_install_data.cc b/chrome/browser/search_engines/search_provider_install_data.cc
|
| index c3af1aa7897668753aa983e637d65ad487e6543a..f519c8728963048c7de733613ce7c2fa34832406 100644
|
| --- a/chrome/browser/search_engines/search_provider_install_data.cc
|
| +++ b/chrome/browser/search_engines/search_provider_install_data.cc
|
| @@ -20,6 +20,7 @@
|
| #include "chrome/browser/search_engines/template_url_service.h"
|
| #include "chrome/browser/search_engines/util.h"
|
| #include "chrome/browser/webdata/web_data_service.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -155,7 +156,8 @@ SearchProviderInstallData::SearchProviderInstallData(
|
| Profile* profile,
|
| int ui_death_notification,
|
| const content::NotificationSource& ui_death_source)
|
| - : web_service_(profile->GetWebDataService(Profile::EXPLICIT_ACCESS)),
|
| + : web_service_(WebDataServiceFactory::GetForProfile(profile,
|
| + Profile::EXPLICIT_ACCESS)),
|
| load_handle_(0),
|
| google_base_url_(UIThreadSearchTermsData().GoogleBaseURLValue()) {
|
| // GoogleURLObserver is responsible for killing itself when
|
|
|