| 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 31ad3ae107726d1e4718e255a0531e84c6efd0d5..9349807b840620b8c3f1a0e8f684e50a49acde30 100644
|
| --- a/chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| @@ -10,6 +10,7 @@
|
| #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"
|
| @@ -41,7 +42,8 @@ bool AutofillDataTypeController::StartModels() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| DCHECK_EQ(MODEL_STARTING, state());
|
|
|
| - web_data_service_ = profile()->GetWebDataService(Profile::IMPLICIT_ACCESS);
|
| + web_data_service_ = WebDataServiceFactory::GetForProfile(
|
| + profile(), Profile::IMPLICIT_ACCESS);
|
| if (web_data_service_->IsDatabaseLoaded()) {
|
| return true;
|
| } else {
|
|
|