summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-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_;