Index: chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
index 3d5a686b7044b4fd4b98f2728815db589c2a5e68..9331f1ce35ad949448ed7fccaf542b00d19cf469 100644 |
--- a/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "components/autofill/content/browser/content_autofill_driver.h" |
+#include "components/autofill/content/browser/content_autofill_driver_factory.h" |
#include "components/autofill/core/browser/autofill_manager.h" |
#include "components/autofill/core/browser/test_autofill_external_delegate.h" |
#include "content/public/browser/web_contents.h" |
@@ -78,7 +79,8 @@ class AutofillPopupControllerBrowserTest |
Observe(web_contents); |
ContentAutofillDriver* driver = |
- ContentAutofillDriver::FromWebContents(web_contents); |
+ ContentAutofillDriverFactory::FromWebContents(web_contents) |
+ ->DriverForFrame(web_contents->GetMainFrame()); |
autofill_external_delegate_.reset( |
new TestAutofillExternalDelegate( |
web_contents, |