Index: ui/message_center/views/notification_button.cc |
diff --git a/ui/message_center/views/notification_button.cc b/ui/message_center/views/notification_button.cc |
index 3cc0fecf037a6015c1b181a45f37097d1548f451..fa38633ced5f583be2c588ce4d50ccacb16415a3 100644 |
--- a/ui/message_center/views/notification_button.cc |
+++ b/ui/message_center/views/notification_button.cc |
@@ -71,12 +71,12 @@ void NotificationButton::SetTitle(const base::string16& title) { |
SetAccessibleName(title); |
} |
-gfx::Size NotificationButton::GetPreferredSize() { |
+gfx::Size NotificationButton::GetPreferredSize() const { |
return gfx::Size(message_center::kNotificationWidth, |
message_center::kButtonHeight); |
} |
-int NotificationButton::GetHeightForWidth(int width) { |
+int NotificationButton::GetHeightForWidth(int width) const { |
return message_center::kButtonHeight; |
} |