Index: ui/views/examples/scroll_view_example.cc |
diff --git a/ui/views/examples/scroll_view_example.cc b/ui/views/examples/scroll_view_example.cc |
index eba536e6079036e07ff5395b8d6c0321278f5afd..127442fb7df1ae43db1ff69903bfffadf36b98be 100644 |
--- a/ui/views/examples/scroll_view_example.cc |
+++ b/ui/views/examples/scroll_view_example.cc |
@@ -27,7 +27,7 @@ class ScrollViewExample::ScrollableView : public View { |
AddChildView(new RadioButton(ASCIIToUTF16("Radio Button"), 0)); |
} |
- virtual gfx::Size GetPreferredSize() OVERRIDE { |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE { |
return gfx::Size(width(), height()); |
} |