summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 22:58:05 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 22:58:05 +0000
commiteb7c73e0e12d6355a2f77438df5cbec46ba7f36b (patch)
tree9dc371b0140967f94acc2de4f1155845dfb04d5f /chrome
parent0f23a23033550530d4ab9e9d603790d4e0f07eb7 (diff)
downloadchromium_src-eb7c73e0e12d6355a2f77438df5cbec46ba7f36b.zip
chromium_src-eb7c73e0e12d6355a2f77438df5cbec46ba7f36b.tar.gz
chromium_src-eb7c73e0e12d6355a2f77438df5cbec46ba7f36b.tar.bz2
Linux: Properly plumb infobar close button event.
BUG=10865 Review URL: http://codereview.chromium.org/92057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14369 0039d316-1c4b-4281-b951-d872f2087c98
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 ----------------------------------------------------------------