| Index: chrome/browser/tab_contents/infobar_container.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/infobar_container.cc (revision 91189)
|
| +++ chrome/browser/tab_contents/infobar_container.cc (working copy)
|
| @@ -112,6 +112,11 @@
|
| // this point |delegate_| may be shutting down, and it's at best unimportant
|
| // and at worst disastrous to call that.
|
| delegate_ = NULL;
|
| +
|
| + // TODO(pkasting): Remove this once TabContentsWrapper calls CloseSoon().
|
| + for (size_t i = infobars_.size(); i > 0; --i)
|
| + infobars_[i]->CloseSoon();
|
| +
|
| ChangeTabContents(NULL);
|
| }
|
|
|
|
|