Index: samplecode/SampleArc.cpp |
diff --git a/samplecode/SampleArc.cpp b/samplecode/SampleArc.cpp |
index 6af37b6c2cfdd071c6054ff042bd0d09578565c5..8209c3b76489b2352726fe86381c15300e85eca6 100644 |
--- a/samplecode/SampleArc.cpp |
+++ b/samplecode/SampleArc.cpp |
@@ -25,7 +25,7 @@ |
#include "SkParsePath.h" |
static void testparse() { |
SkRect r; |
- r.set(0, 0, SkFloatToScalar(10), SkFloatToScalar(10.5f)); |
+ r.set(0, 0, 10, 10.5f); |
SkPath p, p2; |
SkString str, str2; |
@@ -123,7 +123,7 @@ protected: |
virtual void onDrawContent(SkCanvas* canvas) { |
fSweep = SampleCode::GetAnimScalar(SkIntToScalar(360)/24, |
SkIntToScalar(360)); |
-// fSweep = SkFloatToScalar(359.99f); |
+// fSweep = 359.99f; |
SkRect r; |
SkPaint paint; |