Index: ui/views/controls/scrollbar/native_scroll_bar.h |
diff --git a/ui/views/controls/scrollbar/native_scroll_bar.h b/ui/views/controls/scrollbar/native_scroll_bar.h |
index 70d5a83d37a8be4860ccceb27dac41a5b2095b38..058784d55ac83d5cce4b2bd3eee950e0b679e8fd 100644 |
--- a/ui/views/controls/scrollbar/native_scroll_bar.h |
+++ b/ui/views/controls/scrollbar/native_scroll_bar.h |
@@ -40,7 +40,7 @@ class VIEWS_EXPORT NativeScrollBar : public ScrollBar { |
FRIEND_TEST_ALL_PREFIXES(NativeScrollBarTest, Scrolling); |
// Overridden from View. |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
virtual void ViewHierarchyChanged( |
const ViewHierarchyChangedDetails& details) OVERRIDE; |