| Index: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
|
| diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
|
| index 860eea45e32e833f09bb185b481d1817337db239..d5d5a3465487151d2edb6c4737d34bcaf5ddf8c9 100644
|
| --- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
|
| +++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc
|
| @@ -201,8 +201,11 @@ int OpaqueBrowserFrameViewLayout::NonClientTopBorderHeight(
|
| }
|
|
|
| int thickness = FrameBorderThickness(restored);
|
| + // The tab top inset is equal to the height of any shadow region above the
|
| + // tabs, plus a 1 px top stroke. In maximized mode, we want to push the
|
| + // shadow region off the top of the screen but leave the top stroke.
|
| if (!restored && delegate_->IsTabStripVisible() && IsTitleBarCondensed())
|
| - thickness -= kTabstripTopShadowThickness;
|
| + thickness -= GetLayoutInsets(TAB).top() - 1;
|
| return thickness;
|
| }
|
|
|
|
|