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)); |