summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authordilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 17:47:40 +0000
committerdilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-22 17:47:40 +0000
commitf5ec1bad309087686f7bac1c9335068334b9c283 (patch)
treedfa999580ec5b43afc8a01a94b40f113a2ce407e /chrome/browser/tab_contents
parentfc0649f65880ebd025b736c178424891be625a93 (diff)
downloadchromium_src-f5ec1bad309087686f7bac1c9335068334b9c283.zip
chromium_src-f5ec1bad309087686f7bac1c9335068334b9c283.tar.gz
chromium_src-f5ec1bad309087686f7bac1c9335068334b9c283.tar.bz2
delete OutdatedPluginInfoBar on close
BUG=None TEST=None Review URL: http://codereview.chromium.org/6021005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 58871bb..bf96e49 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -293,6 +293,10 @@ class OutdatedPluginInfoBar : public ConfirmInfoBarDelegate {
return false;
}
+ virtual void InfoBarClosed() {
+ delete this;
+ }
+
private:
TabContents* tab_contents_;
string16 name_;