| 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);
|
| }
|
|
|