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

Unified Diff: ui/gfx/paint_throbber.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/gfx/nine_image_painter.cc ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/paint_throbber.cc
diff --git a/ui/gfx/paint_throbber.cc b/ui/gfx/paint_throbber.cc
index 59305a0dd033e5ee7bd75f45e6d951f7b37c94f2..2580687dff687bc7c4a3833bb0536eb134582645 100644
--- a/ui/gfx/paint_throbber.cc
+++ b/ui/gfx/paint_throbber.cc
@@ -5,6 +5,7 @@
#include "ui/gfx/paint_throbber.h"
#include "base/time/time.h"
+#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/animation/tween.h"
#include "ui/gfx/canvas.h"
@@ -46,11 +47,11 @@ void PaintArc(Canvas* canvas,
SkPath path;
path.arcTo(RectToSkRect(oval), start_angle, sweep, true);
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setColor(color);
- paint.setStrokeCap(SkPaint::kRound_Cap);
+ paint.setStrokeCap(cc::PaintFlags::kRound_Cap);
paint.setStrokeWidth(stroke_width);
- paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setAntiAlias(true);
canvas->DrawPath(path, paint);
}
« no previous file with comments | « ui/gfx/nine_image_painter.cc ('k') | ui/gfx/paint_vector_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698