Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm |
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm |
index fa25be9e33aff0a7be0f0cdbc2bbd62f1c0fdb57..8d1fa74c9f839f8fa3cd17bc25abcc68071158ce 100644 |
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm |
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm |
@@ -143,8 +143,7 @@ void BrowserNonClientFrameViewMac::PaintToolbarBackground(gfx::Canvas* canvas) { |
const ui::ThemeProvider* tp = GetThemeProvider(); |
gfx::ImageSkia* border = tp->GetImageSkiaNamed(IDR_TOOLBAR_SHADE_TOP); |
- const int top_inset = |
- GetLayoutConstant(TABSTRIP_TOOLBAR_OVERLAP) - border->height(); |
+ const int top_inset = -border->height(); |
Peter Kasting
2016/09/22 23:27:24
Nit: Just use "- border->height()" directly below
Evan Stade
2016/09/23 00:31:07
Done.
|
const int x = bounds.x(); |
const int y = bounds.y() + top_inset; |