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

Unified Diff: ash/touch_hud/touch_hud_renderer.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase 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 adb5243f4cf2aa6b7608adbdf14509b5880f399a..1cc98b8ed11d526da7dc0430381de76b681e99af 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_;
+ cc::PaintFlags stroke_paint_;
SkColor gradient_colors_[2];
SkScalar gradient_pos_[2];

Powered by Google App Engine
This is Rietveld 408576698