Index: chrome/browser/extensions/theme_preview_infobar_delegate.cc |
diff --git a/chrome/browser/extensions/theme_preview_infobar_delegate.cc b/chrome/browser/extensions/theme_preview_infobar_delegate.cc |
index 75c1ce898c28c5c8b8901f4e735a0854e62f1395..d22ebda9561a4189c06425eed8c4cc4e07afefa2 100644 |
--- a/chrome/browser/extensions/theme_preview_infobar_delegate.cc |
+++ b/chrome/browser/extensions/theme_preview_infobar_delegate.cc |
@@ -16,19 +16,6 @@ ThemePreviewInfobarDelegate::ThemePreviewInfobarDelegate( |
profile_(tab_contents->profile()), name_(name) { |
} |
-bool ThemePreviewInfobarDelegate::EqualsDelegate(InfoBarDelegate* delegate) |
- const { |
- // If another infobar of this type is showing, this will prevent us adding |
- // a new one, we only care if they're the same type, as pressing undo always |
- // has the same result each time. This does mean that the text continues |
- // to refer to the old theme, but this is good enough for beta. |
- // http://crbug.com/17932 |
- if (delegate->AsThemePreviewInfobarDelegate()) |
- return true; |
- |
- return false; |
-} |
- |
void ThemePreviewInfobarDelegate::InfoBarClosed() { |
delete this; |
} |