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

Unified Diff: ui/views/controls/focusable_rounded_border_mac.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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 | « ui/views/controls/focusable_border.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/focusable_rounded_border_mac.cc
diff --git a/ui/views/controls/focusable_rounded_border_mac.cc b/ui/views/controls/focusable_rounded_border_mac.cc
index 3deaecbcae4972ac2cddeeddf370ffb6d29aa967..894aca9f7ce79c5c502d860b853cd220e898fb39 100644
--- a/ui/views/controls/focusable_rounded_border_mac.cc
+++ b/ui/views/controls/focusable_rounded_border_mac.cc
@@ -28,8 +28,8 @@ FocusableRoundedBorder::~FocusableRoundedBorder() {}
// likely diverge in future.
// TODO(ellyjones): Diverge it by adding soft focus rings.
void FocusableRoundedBorder::Paint(const View& view, gfx::Canvas* canvas) {
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ cc::PaintFlags paint;
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setStrokeWidth(kThickness);
paint.setColor(GetCurrentColor(view));
paint.setAntiAlias(true);
« no previous file with comments | « ui/views/controls/focusable_border.cc ('k') | ui/views/controls/image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698