diff options
Diffstat (limited to 'chrome/views/custom_frame_window.cc')
-rw-r--r-- | chrome/views/custom_frame_window.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/views/custom_frame_window.cc b/chrome/views/custom_frame_window.cc index 9bd9758..ef5e3b7 100644 --- a/chrome/views/custom_frame_window.cc +++ b/chrome/views/custom_frame_window.cc @@ -819,9 +819,8 @@ void DefaultNonClientView::LayoutTitleBar() { } void DefaultNonClientView::LayoutClientView() { - gfx::Rect client_bounds( - CalculateClientAreaBounds(width(), height())); - container_->client_view()->SetBounds(client_bounds.ToRECT()); + gfx::Rect client_bounds = CalculateClientAreaBounds(width(), height()); + container_->client_view()->SetBounds(client_bounds); } // static |