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

Unified Diff: ash/touch_hud/touch_hud_renderer.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Re-add ios changes 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: ash/touch_hud/touch_hud_renderer.cc
diff --git a/ash/touch_hud/touch_hud_renderer.cc b/ash/touch_hud/touch_hud_renderer.cc
index 539bbdb2b73de5078e3e782abf18d6447e78f2bb..9430f0881dffedc1653733228b9c6849714f556d 100644
--- a/ash/touch_hud/touch_hud_renderer.cc
+++ b/ash/touch_hud/touch_hud_renderer.cc
@@ -40,7 +40,7 @@ class TouchPointView : public views::View,
SetSize(gfx::Size(2 * kPointRadius + 2, 2 * kPointRadius + 2));
- stroke_paint_.setStyle(SkPaint::kStroke_Style);
+ stroke_paint_.setStyle(cc::PaintFlags::kStroke_Style);
stroke_paint_.setColor(kProjectionStrokeColor);
gradient_colors_[0] = kProjectionFillColor;
@@ -120,8 +120,8 @@ class TouchPointView : public views::View,
const gfx::Point circle_center_;
const SkPoint gradient_center_;
- SkPaint fill_paint_;
- SkPaint stroke_paint_;
+ cc::PaintFlags fill_paint_;
sky 2017/01/26 23:00:13 Similar comment about naming for these two.
+ cc::PaintFlags stroke_paint_;
SkColor gradient_colors_[2];
SkScalar gradient_pos_[2];

Powered by Google App Engine
This is Rietveld 408576698