Index: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc |
index c3c3fe1313f2547a3535769ad1e8975f01286890..f9577a7648371fd66f60a5536e3b20ea1bed0494 100644 |
--- a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc |
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc |
@@ -14,6 +14,7 @@ |
#include "components/autofill/browser/autofill_manager.h" |
#include "components/autofill/browser/test_autofill_external_delegate.h" |
#include "components/autofill/browser/test_autofill_manager_delegate.h" |
+#include "components/autofill/content/browser/autofill_driver_impl.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" |
@@ -154,11 +155,12 @@ class AutofillPopupControllerUnitTest : public ChromeRenderViewHostTestHarness { |
virtual void SetUp() OVERRIDE { |
ChromeRenderViewHostTestHarness::SetUp(); |
- AutofillManager::CreateForWebContentsAndDelegate( |
+ AutofillDriverImpl::CreateForWebContentsAndDelegate( |
web_contents(), |
manager_delegate_.get(), |
"en-US", |
- AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER); |
+ AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER, |
+ false); |
external_delegate_.reset( |
new NiceMock<MockAutofillExternalDelegate>( |
web_contents(), AutofillManager::FromWebContents(web_contents()))); |