| 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..13f57dd8bcac31917a25df849987cb4290f876f3 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));
|
| }
|
|
|
| PersonalDataManager* GetPersonalDataManager(int index) {
|
|
|