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

Unified Diff: chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc

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
Index: chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
diff --git a/chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc b/chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
index a2bce82e02227a2e9c923b482b4704c295acaa54..6ea35ce5dfb2596b2db487bb4f5f6b459fbb0f3a 100644
--- a/chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
+++ b/chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
@@ -63,7 +63,7 @@ void NewCreditCardBubbleViews::Hide() {
GetWidget()->Close();
}
-gfx::Size NewCreditCardBubbleViews::GetPreferredSize() {
+gfx::Size NewCreditCardBubbleViews::GetPreferredSize() const {
return gfx::Size(
NewCreditCardBubbleView::kContentsWidth,
GetHeightForWidth(NewCreditCardBubbleView::kContentsWidth));
« no previous file with comments | « chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h ('k') | chrome/browser/ui/views/autofill/tooltip_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698