Index: chrome/browser/ui/autofill/autofill_popup_controller_browsertest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_browsertest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_browsertest.cc |
index a9bc9dce7f77291e644066e4a962f0449d1934bf..f9bd96b3272921b7b4e7809c19792ebb8fbab7a4 100644 |
--- a/chrome/browser/ui/autofill/autofill_popup_controller_browsertest.cc |
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_browsertest.cc |
@@ -11,6 +11,7 @@ |
#include "chrome/test/base/in_process_browser_test.h" |
#include "components/autofill/browser/autofill_manager.h" |
#include "components/autofill/browser/test_autofill_external_delegate.h" |
+#include "components/autofill/content/browser/autofill_driver_impl.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/test/test_utils.h" |
@@ -77,7 +78,8 @@ class AutofillPopupControllerBrowserTest |
autofill_external_delegate_.reset( |
new TestAutofillExternalDelegate( |
web_contents_, |
- AutofillManager::FromWebContents(web_contents_))); |
+ AutofillDriverImpl::FromWebContents( |
+ web_contents_)->autofill_manager())); |
} |
// Normally the WebContents will automatically delete the delegate, but here |