Index: ui/views/controls/slider.h |
diff --git a/ui/views/controls/slider.h b/ui/views/controls/slider.h |
index d8918fa2dd1b227c23857e6f25b5dcb6d89f3fa5..ffee7c9238da86b6d36dfdf1a6d6992fb560744d 100644 |
--- a/ui/views/controls/slider.h |
+++ b/ui/views/controls/slider.h |
@@ -82,7 +82,7 @@ class VIEWS_EXPORT Slider : public View, public gfx::AnimationDelegate { |
void OnPaintFocus(gfx::Canvas* canvas); |
// views::View overrides: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |