summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 13:57:22 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 13:57:22 +0000
commitbb4a2247bb57117fd5c6cc402264a1ce12afeec7 (patch)
tree2f347c1b81f24211ed0339ae032353261f63a7c3 /chrome/browser
parent82d73dc6276e1c0344335ec104940aab0e525b54 (diff)
downloadchromium_src-bb4a2247bb57117fd5c6cc402264a1ce12afeec7.zip
chromium_src-bb4a2247bb57117fd5c6cc402264a1ce12afeec7.tar.gz
chromium_src-bb4a2247bb57117fd5c6cc402264a1ce12afeec7.tar.bz2
Destroy the GTK info bar container widget when the object is destroyed.
BUG=9802 Review URL: http://codereview.chromium.org/62104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/gtk/infobar_container_gtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/infobar_container_gtk.cc b/chrome/browser/gtk/infobar_container_gtk.cc
index 1b1094b..cc8543d 100644
--- a/chrome/browser/gtk/infobar_container_gtk.cc
+++ b/chrome/browser/gtk/infobar_container_gtk.cc
@@ -46,6 +46,8 @@ InfoBarContainerGtk::InfoBarContainerGtk(BrowserWindow* browser_window)
InfoBarContainerGtk::~InfoBarContainerGtk() {
browser_window_ = NULL;
ChangeTabContents(NULL);
+
+ container_.Destroy();
}
void InfoBarContainerGtk::ChangeTabContents(TabContents* contents) {