Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 5f2f6c9fc81b949d3f8db52a20fbfe7fbddbe219..1e90cb3a0f9ea7f9e3d6e1efae65fff4ab55e0ca 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -276,7 +276,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// Gets the maximum size of the view. Currently only used for sizing shell |
// windows. |
- virtual gfx::Size GetMaximumSize(); |
+ virtual gfx::Size GetMaximumSize() const; |
// Return the height necessary to display this view with the provided width. |
// View's implementation returns the value from getPreferredSize.cy. |