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

Unified Diff: components/infobars/core/infobar.h

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 years, 7 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
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | components/infobars/core/infobar_container.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_|.
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | components/infobars/core/infobar_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698