Index: ui/views/controls/scrollbar/overlay_scroll_bar.h |
diff --git a/ui/views/controls/scrollbar/overlay_scroll_bar.h b/ui/views/controls/scrollbar/overlay_scroll_bar.h |
index b061da08586f23c04af68227c973d3acc59e7247..428a27715c43fb8abe518e7810d64e4b5d03473c 100644 |
--- a/ui/views/controls/scrollbar/overlay_scroll_bar.h |
+++ b/ui/views/controls/scrollbar/overlay_scroll_bar.h |
@@ -28,7 +28,7 @@ class VIEWS_EXPORT OverlayScrollBar : public BaseScrollBar { |
virtual void OnMouseExitedScrollView(const ui::MouseEvent& event) OVERRIDE; |
// View overrides: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |