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

Unified Diff: ui/gfx/paint_throbber.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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..eefc519718365e8f6de528003d13cd4d4b92779f 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 "skia/ext/cdl_paint.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;
+ CdlPaint paint;
paint.setColor(color);
- paint.setStrokeCap(SkPaint::kRound_Cap);
+ paint.setStrokeCap(CdlPaint::kRound_Cap);
paint.setStrokeWidth(stroke_width);
- paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStyle(CdlPaint::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