Index: ui/views/controls/slider.cc |
diff --git a/ui/views/controls/slider.cc b/ui/views/controls/slider.cc |
index 4becf5f2ca7b30c41b6c3bef84c53d42ace9fb85..e88073b6bd13774e006d97a9eaf00a2b90b485fb 100644 |
--- a/ui/views/controls/slider.cc |
+++ b/ui/views/controls/slider.cc |
@@ -184,7 +184,7 @@ void Slider::OnPaintFocus(gfx::Canvas* canvas) { |
} |
} |
-gfx::Size Slider::GetPreferredSize() { |
+gfx::Size Slider::GetPreferredSize() const { |
const int kSizeMajor = 200; |
const int kSizeMinor = 40; |