Index: components/infobars/core/infobar.h |
diff --git a/components/infobars/core/infobar.h b/components/infobars/core/infobar.h |
index 46e1584c2b848530dd3f75a110b6d423c433d586..007a7ca3cc7299880805c671e7ad0b953fdd4fb5 100644 |
--- a/components/infobars/core/infobar.h |
+++ b/components/infobars/core/infobar.h |
@@ -57,8 +57,7 @@ class InfoBar : public gfx::AnimationDelegate { |
static SkColor GetBottomColor(InfoBarDelegate::Type infobar_type); |
InfoBarManager* owner() { return owner_; } |
- InfoBarDelegate* delegate() { return delegate_.get(); } |
- const InfoBarDelegate* delegate() const { return delegate_.get(); } |
+ InfoBarDelegate* delegate() const { return delegate_.get(); } |
void set_container(InfoBarContainer* container) { container_ = container; } |
// Sets |owner_|. This also calls StoreActiveEntryUniqueID() on |delegate_|. |