Index: chrome/browser/tab_contents/infobar_container.cc |
=================================================================== |
--- chrome/browser/tab_contents/infobar_container.cc (revision 91316) |
+++ chrome/browser/tab_contents/infobar_container.cc (working copy) |
@@ -115,7 +115,7 @@ |
// TODO(pkasting): Remove this once TabContentsWrapper calls CloseSoon(). |
for (size_t i = infobars_.size(); i > 0; --i) |
- infobars_[i]->CloseSoon(); |
+ infobars_[i - 1]->CloseSoon(); |
ChangeTabContents(NULL); |
} |