Index: ash/frame/caption_buttons/frame_caption_button.cc |
diff --git a/ash/frame/caption_buttons/frame_caption_button.cc b/ash/frame/caption_buttons/frame_caption_button.cc |
index f7ecc2a1ccad98908662441ad88dc2b41b9a978b..c8d71c39c13a8cb2391dc231fe2fee0ece2096fb 100644 |
--- a/ash/frame/caption_buttons/frame_caption_button.cc |
+++ b/ash/frame/caption_buttons/frame_caption_button.cc |
@@ -94,7 +94,7 @@ bool FrameCaptionButton::IsAnimatingImageSwap() const { |
return swap_images_animation_->is_animating(); |
} |
-gfx::Size FrameCaptionButton::GetPreferredSize() { |
+gfx::Size FrameCaptionButton::GetPreferredSize() const { |
return hovered_background_image_.isNull() ? |
gfx::Size() : hovered_background_image_.size(); |
} |