Index: chrome/browser/views/frame/opaque_non_client_view.cc |
=================================================================== |
--- chrome/browser/views/frame/opaque_non_client_view.cc (revision 5374) |
+++ chrome/browser/views/frame/opaque_non_client_view.cc (working copy) |
@@ -467,7 +467,8 @@ |
int tabstrip_width = minimize_button_->x() - tabstrip_x; |
if (frame_->IsMaximized()) |
tabstrip_width -= kNewTabIconWindowControlsSpacing; |
- return gfx::Rect(tabstrip_x, 0, tabstrip_width, tabstrip_height); |
+ return gfx::Rect(tabstrip_x, 0, std::max(0, tabstrip_width), |
+ tabstrip_height); |
} |
void OpaqueNonClientView::UpdateWindowIcon() { |