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

Unified Diff: chrome/browser/autofill/autofill_browsertest.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/autofill/autofill_browsertest.cc
diff --git a/chrome/browser/autofill/autofill_browsertest.cc b/chrome/browser/autofill/autofill_browsertest.cc
index 46de9bdf9cdb2171a81ec7aa47b4103bae271f1e..74a3718cfcd796af99ebaaaf9981296d8f2dca98 100644
--- a/chrome/browser/autofill/autofill_browsertest.cc
+++ b/chrome/browser/autofill/autofill_browsertest.cc
@@ -114,8 +114,9 @@ class AutofillTest : public InProcessBrowserTest {
content::WebContents* web_contents =
browser()->tab_strip_model()->GetActiveWebContents();
AutofillManager* autofill_manager =
- ContentAutofillDriverFactory::FromWebContents(web_contents)
- ->DriverForFrame(web_contents->GetMainFrame())
+ static_cast<ContentAutofillDriver*>(
+ ContentAutofillDriverFactory::FromWebContents(web_contents)
+ ->DriverForFrame(web_contents->GetMainFrame()))
->autofill_manager();
autofill_manager->client()->HideAutofillPopup();
test::ReenableSystemServices();

Powered by Google App Engine
This is Rietveld 408576698