| Index: chrome/browser/sync/test/integration/autofill_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/autofill_helper.cc b/chrome/browser/sync/test/integration/autofill_helper.cc
|
| index 1a3b787c4b5a8ad2fd9d3607e2cf64c401dda02d..7c22b84a5c0ae46f77843494437f8d8d179acfeb 100644
|
| --- a/chrome/browser/sync/test/integration/autofill_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/autofill_helper.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/sync/profile_sync_test_util.h"
|
| #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
|
| #include "chrome/browser/sync/test/integration/sync_test.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "components/autofill/core/browser/autofill_profile.h"
|
| #include "components/autofill/core/browser/autofill_test_utils.h"
|
| #include "components/autofill/core/browser/autofill_type.h"
|
| @@ -164,7 +165,8 @@ AutofillProfile CreateAutofillProfile(ProfileType type) {
|
| }
|
|
|
| scoped_refptr<AutofillWebDataService> GetWebDataService(int index) {
|
| - return AutofillWebDataService::FromBrowserContext(test()->GetProfile(index));
|
| + return WebDataServiceFactory::GetAutofillWebDataForProfile(
|
| + test()->GetProfile(index), Profile::EXPLICIT_ACCESS);
|
| }
|
|
|
| PersonalDataManager* GetPersonalDataManager(int index) {
|
|
|