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 3794f90240c81104354f86ff044f0e82d55b06f6..34bdbf6a95d42b198cda54bf0d672a17e5055936 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/test_personal_data_manager.h" |
#include "components/autofill/core/common/autofill_switches.h" |
#include "components/autofill/core/common/form_data.h" |
+#include "components/user_prefs/user_prefs.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/test/mock_render_process_host.h" |
#include "google_apis/gaia/google_service_auth_error.h" |
@@ -269,7 +270,8 @@ class TestAutofillDialogController |
} |
void Init(content::BrowserContext* browser_context) { |
- test_manager_.Init(browser_context); |
+ test_manager_.Init(browser_context, |
+ user_prefs::UserPrefs::Get(browser_context)); |
} |
TestAutofillDialogView* GetView() { |