Index: ui/views/controls/menu/menu_scroll_view_container.h |
diff --git a/ui/views/controls/menu/menu_scroll_view_container.h b/ui/views/controls/menu/menu_scroll_view_container.h |
index a2611ab97ad39a473b1368cf1195290aca60a8a0..dc7c1acf1644fac6d86e6a14a51b81cbe03c3039 100644 |
--- a/ui/views/controls/menu/menu_scroll_view_container.h |
+++ b/ui/views/controls/menu/menu_scroll_view_container.h |
@@ -33,7 +33,7 @@ class MenuScrollViewContainer : public View { |
// View overrides. |
virtual void OnPaintBackground(gfx::Canvas* canvas) OVERRIDE; |
virtual void Layout() OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
protected: |