Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
index 14ab0ce7d05e90bff5863cf4e3bb155560dc5dc9..795948c9f9393a5cdea5f69b4d4a9f06a18d69fc 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc |
@@ -36,6 +36,7 @@ |
#include "components/autofill/core/browser/autofill_metrics.h" |
#include "components/autofill/core/browser/autofill_test_utils.h" |
#include "components/autofill/core/browser/test_personal_data_manager.h" |
+#include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "components/autofill/core/common/form_data.h" |
#include "components/user_prefs/user_prefs.h" |
@@ -256,9 +257,10 @@ class TestAutofillDialogController |
} |
void Init(content::BrowserContext* browser_context) { |
- test_manager_.Init(browser_context, |
- user_prefs::UserPrefs::Get(browser_context), |
- browser_context->IsOffTheRecord()); |
+ test_manager_.Init( |
+ AutofillWebDataService::FromBrowserContext(browser_context), |
+ user_prefs::UserPrefs::Get(browser_context), |
+ browser_context->IsOffTheRecord()); |
} |
TestAutofillDialogView* GetView() { |