Index: ui/views/window/client_view.cc |
diff --git a/ui/views/window/client_view.cc b/ui/views/window/client_view.cc |
index 6a6d4915fa03358aceda159bc786bbf154d32521..eb8d355c6e83e8bdbee8cd0a1ba3d830d69b5870 100644 |
--- a/ui/views/window/client_view.cc |
+++ b/ui/views/window/client_view.cc |
@@ -45,7 +45,7 @@ void ClientView::WidgetClosing() { |
/////////////////////////////////////////////////////////////////////////////// |
// ClientView, View overrides: |
-gfx::Size ClientView::GetPreferredSize() { |
+gfx::Size ClientView::GetPreferredSize() const { |
// |contents_view_| is allowed to be NULL up until the point where this view |
// is attached to a Container. |
return contents_view_ ? contents_view_->GetPreferredSize() : gfx::Size(); |
@@ -57,7 +57,7 @@ gfx::Size ClientView::GetMaximumSize() { |
return contents_view_ ? contents_view_->GetMaximumSize() : gfx::Size(); |
} |
-gfx::Size ClientView::GetMinimumSize() { |
+gfx::Size ClientView::GetMinimumSize() const { |
// |contents_view_| is allowed to be NULL up until the point where this view |
// is attached to a Container. |
return contents_view_ ? contents_view_->GetMinimumSize() : gfx::Size(); |