Index: ui/views/controls/button/menu_button.cc |
diff --git a/ui/views/controls/button/menu_button.cc b/ui/views/controls/button/menu_button.cc |
index bd3efa45d20d560c6b3dc77a640ff4f87d718dd9..dcfed7ee0f138d102be6150909cb8a4a4e01e193 100644 |
--- a/ui/views/controls/button/menu_button.cc |
+++ b/ui/views/controls/button/menu_button.cc |
@@ -146,7 +146,7 @@ void MenuButton::PaintButton(gfx::Canvas* canvas, PaintButtonMode mode) { |
// |
//////////////////////////////////////////////////////////////////////////////// |
-gfx::Size MenuButton::GetPreferredSize() { |
+gfx::Size MenuButton::GetPreferredSize() const { |
gfx::Size prefsize = TextButton::GetPreferredSize(); |
if (show_menu_marker_) { |
prefsize.Enlarge(menu_marker_->width() + kMenuMarkerPaddingLeft + |