| Index: chrome/browser/autofill/content_autofill_driver_browsertest.cc
|
| diff --git a/chrome/browser/autofill/content_autofill_driver_browsertest.cc b/chrome/browser/autofill/content_autofill_driver_browsertest.cc
|
| index 1b150949cce74aa37a1803050db6187a41fa4ef5..d7a0e0982036ea818ccf68885e0b1594fd8b97cf 100644
|
| --- a/chrome/browser/autofill/content_autofill_driver_browsertest.cc
|
| +++ b/chrome/browser/autofill/content_autofill_driver_browsertest.cc
|
| @@ -58,10 +58,10 @@ class MockAutofillClient : public TestAutofillClient {
|
| // instance.
|
| class TestContentAutofillDriver : public ContentAutofillDriver {
|
| public:
|
| - TestContentAutofillDriver(content::WebContents* web_contents,
|
| + TestContentAutofillDriver(content::RenderFrameHost* rfh,
|
| AutofillClient* client)
|
| : ContentAutofillDriver(
|
| - web_contents,
|
| + rfh,
|
| client,
|
| g_browser_process->GetApplicationLocale(),
|
| AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER) {}
|
| @@ -86,8 +86,8 @@ class ContentAutofillDriverBrowserTest : public InProcessBrowserTest,
|
| Observe(web_contents);
|
| AutofillManager::RegisterProfilePrefs(autofill_client_.GetPrefRegistry());
|
|
|
| - autofill_driver_.reset(
|
| - new TestContentAutofillDriver(web_contents, &autofill_client_));
|
| + autofill_driver_.reset(new TestContentAutofillDriver(
|
| + web_contents->GetMainFrame(), &autofill_client_));
|
| }
|
|
|
| // Normally the WebContents will automatically delete the driver, but here
|
|
|