| Index: chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/autofill_data_type_controller.cc b/chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| index 6e7a83c016d539988d17e0898cd030e32129d278..73deae65b574645d79abdc1ce7c5fb17d9c6bdbc 100644
|
| --- a/chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| #include "chrome/browser/webdata/autocomplete_syncable_service.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "components/autofill/browser/webdata/autofill_webdata_service.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "sync/api/sync_error.h"
|
| @@ -64,7 +65,7 @@ bool AutofillDataTypeController::StartModels() {
|
| DCHECK_EQ(MODEL_STARTING, state());
|
|
|
| web_data_service_ =
|
| - autofill::AutofillWebDataService::FromBrowserContext(profile());
|
| + WebDataServiceFactory::GetAutofillWebDataServiceForProfile(profile());
|
| if (web_data_service_->IsDatabaseLoaded()) {
|
| return true;
|
| } else {
|
|
|