commit | f5ec1bad309087686f7bac1c9335068334b9c283 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 22 17:47:40 2010 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Dec 22 17:47:40 2010 |
tree | dfa999580ec5b43afc8a01a94b40f113a2ce407e | |
parent | fc0649f65880ebd025b736c178424891be625a93 [diff] [blame] |
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_;