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
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 58871bb9..bf96e49 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -293,6 +293,10 @@
     return false;
   }
 
+  virtual void InfoBarClosed() {
+    delete this;
+  }
+
  private:
   TabContents* tab_contents_;
   string16 name_;