Index: ui/views/controls/tree/tree_view.h |
diff --git a/ui/views/controls/tree/tree_view.h b/ui/views/controls/tree/tree_view.h |
index 24780fc051187ee311be8d9bf85228bccb0dcacd..3cae3b523765f0ea62e12155366ef7a859948dca 100644 |
--- a/ui/views/controls/tree/tree_view.h |
+++ b/ui/views/controls/tree/tree_view.h |
@@ -121,7 +121,7 @@ class VIEWS_EXPORT TreeView : public ui::TreeModelObserver, |
// View overrides: |
virtual void Layout() OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; |