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

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

Issue 2673503002: Slightly simplify location bar bg/border painting. (Closed)
Patch Set: pkasting review Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7652063740740bb60cb123d086c7a98554ae3e83..c3d7f7ce95b43fcef47a6da42be9eb00ac12f932 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -645,9 +645,9 @@ void OpaqueBrowserFrameView::PaintClientEdge(gfx::Canvas* canvas) const {
// For popup windows, draw location bar sides.
if (!tabstrip_visible && IsToolbarVisible()) {
- FillClientEdgeRects(
- x, y, w, toolbar_bounds.height(), false,
- LocationBarView::GetBorderColor(incognito), canvas);
+ FillClientEdgeRects(x, y, w, toolbar_bounds.height(), false,
+ LocationBarView::GetOpaqueBorderColor(incognito),
+ canvas);
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/location_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698