summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/infobar_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc
index 576cc3a..432691b 100644
--- a/chrome/browser/gtk/infobar_gtk.cc
+++ b/chrome/browser/gtk/infobar_gtk.cc
@@ -112,7 +112,7 @@ void InfoBar::Closed() {
// static
void InfoBar::OnCloseButton(GtkWidget* button, InfoBar* info_bar) {
- info_bar->AnimateClose();
+ info_bar->RemoveInfoBar();
}
// AlertInfoBar ----------------------------------------------------------------