Index: ui/views/controls/button/image_button.cc |
diff --git a/ui/views/controls/button/image_button.cc b/ui/views/controls/button/image_button.cc |
index 8a42e1612dd826cd560c918adf026736a64a055b..ecbd4a1072443854e379004fe4214be65fd1846b 100644 |
--- a/ui/views/controls/button/image_button.cc |
+++ b/ui/views/controls/button/image_button.cc |
@@ -74,7 +74,7 @@ void ImageButton::SetFocusPainter(scoped_ptr<Painter> focus_painter) { |
//////////////////////////////////////////////////////////////////////////////// |
// ImageButton, View overrides: |
-gfx::Size ImageButton::GetPreferredSize() { |
+gfx::Size ImageButton::GetPreferredSize() const { |
gfx::Size size = preferred_size_; |
if (!images_[STATE_NORMAL].isNull()) { |
size = gfx::Size(images_[STATE_NORMAL].width(), |