Index: ui/views/window/client_view.cc |
diff --git a/ui/views/window/client_view.cc b/ui/views/window/client_view.cc |
index fb7d89fed1823b670feb600d00685f1e83f4526a..9841e4e4fa1143908cec530c8308405def3a1f3e 100644 |
--- a/ui/views/window/client_view.cc |
+++ b/ui/views/window/client_view.cc |
@@ -66,8 +66,10 @@ gfx::Size ClientView::GetMinimumSize() const { |
void ClientView::Layout() { |
// |contents_view_| is allowed to be NULL up until the point where this view |
// is attached to a Container. |
- if (contents_view_) |
+ if (contents_view_) { |
contents_view_->SetBounds(0, 0, width(), height()); |
+ contents_view_->Layout(); |
+ } |
} |
const char* ClientView::GetClassName() const { |