Index: ui/views/controls/scrollbar/base_scroll_bar.h |
diff --git a/ui/views/controls/scrollbar/base_scroll_bar.h b/ui/views/controls/scrollbar/base_scroll_bar.h |
index 2ca7d6c67fa386785b08b5c1b85bfcd47f40d66d..068ad4ddb6f0a35db3f7603b75518b3ba39d64f4 100644 |
--- a/ui/views/controls/scrollbar/base_scroll_bar.h |
+++ b/ui/views/controls/scrollbar/base_scroll_bar.h |
@@ -64,7 +64,7 @@ class VIEWS_EXPORT BaseScrollBar : public ScrollBar, |
CustomButton::ButtonState new_state); |
// View overrides: |
- virtual gfx::Size GetPreferredSize() OVERRIDE = 0; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE = 0; |
virtual void Layout() OVERRIDE = 0; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |