| Index: chrome/browser/autofill/autofill_external_delegate_browsertest.cc
|
| diff --git a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
|
| index 0c2863a4cf54d235836cd5693e5d36f51d6dbe0a..16034cce4ceba674afe788dd0adf54fe082605df 100644
|
| --- a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
|
| +++ b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc
|
| @@ -84,14 +84,6 @@ class AutofillExternalDelegateBrowserTest
|
| new MockAutofillExternalDelegate(web_contents_));
|
| }
|
|
|
| - // Normally the WebContents will automatically delete the delegate, but here
|
| - // the delegate is owned by this test, so we have to manually destroy.
|
| - virtual void WebContentsDestroyed(content::WebContents* web_contents)
|
| - OVERRIDE {
|
| - DCHECK_EQ(web_contents_, web_contents);
|
| - autofill_external_delegate_.reset();
|
| - }
|
| -
|
| protected:
|
| content::WebContents* web_contents_;
|
| scoped_ptr<MockAutofillExternalDelegate> autofill_external_delegate_;
|
|
|