Index: samplecode/SampleDither.cpp |
diff --git a/samplecode/SampleDither.cpp b/samplecode/SampleDither.cpp |
index 2468df7693eafcd9c322a9cc3483c7b8ea63aac1..38d67ad7cf748858506d2d72787395657a4b29b6 100644 |
--- a/samplecode/SampleDither.cpp |
+++ b/samplecode/SampleDither.cpp |
@@ -55,7 +55,7 @@ static void draw_sweep(SkCanvas* c, int width, int height, SkScalar angle) { |
SkScalar y = r.centerY(); |
SkScalar radius = r.width() / 2; |
SkScalar thickness = p.getStrokeWidth(); |
- SkScalar sweep = SkFloatToScalar(360.0f); |
+ SkScalar sweep = 360.0f; |
SkPath path; |
path.moveTo(x + radius, y); |