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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 73ece4834dedcb423448918b5f124b873331e537..bf2dd7f1b488857faf885cdffb4c8a611cea15b1 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -483,7 +483,7 @@ void BrowserView::Paint1pxHorizontalLine(gfx::Canvas* canvas,
gfx::RectF rect(gfx::ScaleRect(gfx::RectF(bounds), scale));
const float inset = rect.height() - 1;
rect.Inset(0, at_bottom ? inset : 0, 0, at_bottom ? 0 : inset);
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setColor(color);
canvas->sk_canvas()->drawRect(gfx::RectFToSkRect(rect), paint);
}

Powered by Google App Engine
This is Rietveld 408576698