Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1217)

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 2360803002: Remove some pre-MD code from toolbar/tabstrip/frame. (Closed)
Patch Set: pkasting review Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 93db269b11b349bc29870b5db03c8c7b0be504aa..18e7f6527861485cc8371c2a5c273c90eb0b124e 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -504,7 +504,7 @@ void BrowserNonClientFrameViewAsh::PaintToolbarBackground(gfx::Canvas* canvas) {
const gfx::ImageSkia* const bg = tp->GetImageSkiaNamed(IDR_THEME_TOOLBAR);
const int x = toolbar_bounds.x();
const int y = toolbar_bounds.y();
- const int bg_y = GetTopInset(false) + Tab::GetYInsetForActiveTabBackground();
+ const int bg_y = GetTopInset(false) + GetLayoutInsets(TAB).top();
const int w = toolbar_bounds.width();
const int h = toolbar_bounds.height();
const SkColor separator_color =
« no previous file with comments | « chrome/browser/ui/layout_constants.cc ('k') | chrome/browser/ui/views/frame/browser_non_client_frame_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698