Index: ash/shelf/overflow_bubble_view.cc |
diff --git a/ash/shelf/overflow_bubble_view.cc b/ash/shelf/overflow_bubble_view.cc |
index b165b2d5f61398e37bc723c7cf88dfb9d709c191..73b647702f29c379f5fc670c335b1266e780aa78 100644 |
--- a/ash/shelf/overflow_bubble_view.cc |
+++ b/ash/shelf/overflow_bubble_view.cc |
@@ -108,7 +108,7 @@ void OverflowBubbleView::ScrollByYOffset(int y_offset) { |
scroll_offset_.set_y(y); |
} |
-gfx::Size OverflowBubbleView::GetPreferredSize() { |
+gfx::Size OverflowBubbleView::GetPreferredSize() const { |
gfx::Size preferred_size = GetContentsSize(); |
const gfx::Rect monitor_rect = Shell::GetScreen()->GetDisplayNearestPoint( |