Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc

Issue 2606473003: Use AutofillDriver* in ContentAutofillDriverFactory when possible (Closed)
Patch Set: Fix Android compilation Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d57b18ab1429750193e417e0c4981d208a903670..c56997e0a542f86ece49a1e0b3c7fbc235810be2 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc
@@ -79,9 +79,9 @@ class AutofillPopupControllerBrowserTest
ASSERT_TRUE(web_contents != NULL);
Observe(web_contents);
- ContentAutofillDriver* driver =
+ ContentAutofillDriver* driver = static_cast<ContentAutofillDriver*>(
ContentAutofillDriverFactory::FromWebContents(web_contents)
- ->DriverForFrame(web_contents->GetMainFrame());
+ ->DriverForFrame(web_contents->GetMainFrame()));
autofill_external_delegate_.reset(
new TestAutofillExternalDelegate(
web_contents,

Powered by Google App Engine
This is Rietveld 408576698