| Index: chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc (revision 238220)
|
| +++ chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc (working copy)
|
| @@ -8,7 +8,6 @@
|
|
|
| #include <utility>
|
|
|
| -#include "base/message_loop/message_loop.h"
|
| #include "chrome/browser/infobars/infobar_delegate.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/ui/browser_window.h"
|
| @@ -53,7 +52,6 @@
|
| void InfoBarContainerGtk::PlatformSpecificAddInfoBar(InfoBar* infobar,
|
| size_t position) {
|
| InfoBarGtk* infobar_gtk = static_cast<InfoBarGtk*>(infobar);
|
| - infobar_gtk->InitWidgets();
|
| infobars_gtk_.insert(infobars_gtk_.begin() + position, infobar_gtk);
|
|
|
| if (infobars_gtk_.back() == infobar_gtk) {
|
| @@ -81,8 +79,6 @@
|
| std::find(infobars_gtk_.begin(), infobars_gtk_.end(), infobar);
|
| if (it != infobars_gtk_.end())
|
| infobars_gtk_.erase(it);
|
| -
|
| - base::MessageLoop::current()->DeleteSoon(FROM_HERE, infobar);
|
| }
|
|
|
| void InfoBarContainerGtk::PlatformSpecificInfoBarStateChanged(
|
|
|