Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
index a7a3369fbc4fd1324292d51d5ba8c3dc69414711..435d0a1f1d78ae5c6268d0cb0c99e6b9c8bd3640 100644 |
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc |
@@ -1048,5 +1048,6 @@ gfx::Rect OpaqueBrowserFrameView::CalculateClientAreaBounds(int width, |
int border_thickness = NonClientBorderThickness(); |
return gfx::Rect(border_thickness, top_height, |
std::max(0, width - (2 * border_thickness)), |
- std::max(0, height - top_height - border_thickness)); |
+ std::max(0, height - GetReservedHeight() - |
+ top_height - border_thickness)); |
} |