Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6182)

Unified Diff: chrome/browser/tab_contents/simple_alert_infobar_delegate.cc

Issue 6926001: Replace the virtual InfoBarDelegate::InfoBarClosed() function with a non-virtual one. This is a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/simple_alert_infobar_delegate.cc
===================================================================
--- chrome/browser/tab_contents/simple_alert_infobar_delegate.cc (revision 84141)
+++ chrome/browser/tab_contents/simple_alert_infobar_delegate.cc (working copy)
@@ -27,10 +27,6 @@
return auto_expire_ && ConfirmInfoBarDelegate::ShouldExpire(details);
}
-void SimpleAlertInfoBarDelegate::InfoBarClosed() {
- delete this;
-}
-
gfx::Image* SimpleAlertInfoBarDelegate::GetIcon() const {
return icon_;
}
« no previous file with comments | « chrome/browser/tab_contents/simple_alert_infobar_delegate.h ('k') | chrome/browser/tab_contents/tab_contents_ssl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698