diff options
Diffstat (limited to 'chrome/browser/sync/glue/autofill_data_type_controller.cc')
-rw-r--r-- | chrome/browser/sync/glue/autofill_data_type_controller.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.cc b/chrome/browser/sync/glue/autofill_data_type_controller.cc index ac24c0e..b614b09 100644 --- a/chrome/browser/sync/glue/autofill_data_type_controller.cc +++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc @@ -10,7 +10,6 @@ #include "chrome/browser/sync/api/sync_error.h" #include "chrome/browser/sync/profile_sync_components_factory.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_source.h" @@ -66,8 +65,7 @@ bool AutofillDataTypeController::StartModels() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK_EQ(MODEL_STARTING, state()); - web_data_service_ = WebDataServiceFactory::GetForProfile( - profile(), Profile::IMPLICIT_ACCESS); + web_data_service_ = profile()->GetWebDataService(Profile::IMPLICIT_ACCESS); if (web_data_service_->IsDatabaseLoaded()) { return true; } else { |