| Index: chrome/browser/autofill/autofill_browsertest.cc
|
| diff --git a/chrome/browser/autofill/autofill_browsertest.cc b/chrome/browser/autofill/autofill_browsertest.cc
|
| index 4c56770a5b10dd1692f9f1ad436a9269fcf18bb7..522c35e9d68ce85fc226bf57c9ce10c93a556f21 100644
|
| --- a/chrome/browser/autofill/autofill_browsertest.cc
|
| +++ b/chrome/browser/autofill/autofill_browsertest.cc
|
| @@ -203,15 +203,6 @@ class AutofillTest : public InProcessBrowserTest {
|
| autofill_manager->SetExternalDelegate(external_delegate_.get());
|
| }
|
|
|
| - virtual void CleanUpOnMainThread() OVERRIDE {
|
| - // Tear down the test external delegate while the UI is still up, as it
|
| - // might try to close the active popup if there still is one.
|
| - content::WebContents* web_contents =
|
| - browser()->tab_strip_model()->GetActiveWebContents();
|
| - AutofillManager::FromWebContents(web_contents)->SetExternalDelegate(NULL);
|
| - external_delegate_.reset();
|
| - }
|
| -
|
| PersonalDataManager* personal_data_manager() {
|
| return PersonalDataManagerFactory::GetForProfile(browser()->profile());
|
| }
|
|
|