| Index: chrome/browser/sync/glue/autofill_data_type_controller.cc
|
| ===================================================================
|
| --- chrome/browser/sync/glue/autofill_data_type_controller.cc (revision 136877)
|
| +++ chrome/browser/sync/glue/autofill_data_type_controller.cc (working copy)
|
| @@ -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"
|
| @@ -65,7 +66,8 @@
|
| 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 {
|
|
|