Index: ui/views/window/client_view.cc |
diff --git a/ui/views/window/client_view.cc b/ui/views/window/client_view.cc |
index 2d2f26a02d7bd41465628cb91d80a9576942a5d2..86044c22956593ed7e003b121adb29b84ca97170 100644 |
--- a/ui/views/window/client_view.cc |
+++ b/ui/views/window/client_view.cc |
@@ -51,6 +51,12 @@ gfx::Size ClientView::GetPreferredSize() { |
return contents_view_ ? contents_view_->GetPreferredSize() : gfx::Size(); |
} |
+gfx::Size ClientView::GetMaximumSize() { |
+ // |contents_view_| is allowed to be NULL up until the point where this view |
+ // is attached to a Container. |
+ return contents_view_ ? contents_view_->GetMaximumSize() : gfx::Size(); |
+} |
+ |
gfx::Size ClientView::GetMinimumSize() { |
// |contents_view_| is allowed to be NULL up until the point where this view |
// is attached to a Container. |