Index: gm/stringart.cpp |
diff --git a/gm/stringart.cpp b/gm/stringart.cpp |
index ed5fe0e78f3f94be79a8e91d9534c1e24f59d7f1..7c9a22ee36852a142eaf601eeb776e6ecc672791 100644 |
--- a/gm/stringart.cpp |
+++ b/gm/stringart.cpp |
@@ -47,7 +47,7 @@ protected: |
SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, |
length*SkScalarSin(step) + center.fY); |
path.lineTo(rp); |
- length += SkScalarDiv(angle, SkScalarHalf(SK_ScalarPI)); |
+ length += angle / SkScalarHalf(SK_ScalarPI); |
step += angle; |
} |
path.close(); |