Index: ui/views/controls/scroll_view_unittest.cc |
diff --git a/ui/views/controls/scroll_view_unittest.cc b/ui/views/controls/scroll_view_unittest.cc |
index 8fcd713042b7009ee9b11373eec2b5a2dfb1f935..8f34377553fce576748fd8655a610df69630e3a8 100644 |
--- a/ui/views/controls/scroll_view_unittest.cc |
+++ b/ui/views/controls/scroll_view_unittest.cc |
@@ -26,7 +26,9 @@ class CustomView : public View { |
PreferredSizeChanged(); |
} |
- virtual gfx::Size GetPreferredSize() OVERRIDE { return preferred_size_; } |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
+ return preferred_size_; |
+ } |
virtual void Layout() OVERRIDE { |
gfx::Size pref = GetPreferredSize(); |