| Index: chrome/browser/autofill/form_structure_browsertest.cc
|
| diff --git a/chrome/browser/autofill/form_structure_browsertest.cc b/chrome/browser/autofill/form_structure_browsertest.cc
|
| index 220a3b935bd1eb3b4a64c76604f88640c7f8c80b..6130cb1f434282f9820c2cc512dd851780dff326 100644
|
| --- a/chrome/browser/autofill/form_structure_browsertest.cc
|
| +++ b/chrome/browser/autofill/form_structure_browsertest.cc
|
| @@ -60,7 +60,7 @@ void FormStructureBrowserTest::GenerateResults(const std::string& input,
|
| HTMLToDataURI(input)));
|
|
|
| AutofillManager* autofill_manager =
|
| - chrome::GetActiveTabContents(browser())->autofill_manager();
|
| + AutofillManager::FromWebContents(chrome::GetActiveWebContents(browser()));
|
| ASSERT_NE(static_cast<AutofillManager*>(NULL), autofill_manager);
|
| std::vector<FormStructure*> forms = autofill_manager->form_structures_.get();
|
| *output = FormStructureBrowserTest::FormStructuresToString(forms);
|
|
|