Index: src/core/SkStrokerPriv.cpp |
diff --git a/src/core/SkStrokerPriv.cpp b/src/core/SkStrokerPriv.cpp |
index bc8e0435a1e1dbd161003694c82995ca1c1e9195..7fc773a114c1baec2eefb417d0742ffab9a32876 100644 |
--- a/src/core/SkStrokerPriv.cpp |
+++ b/src/core/SkStrokerPriv.cpp |
@@ -214,7 +214,7 @@ static void MiterJoiner(SkPath* outer, SkPath* inner, const SkVector& beforeUnit |
else |
mid.set(before.fX + after.fX, before.fY + after.fY); |
- mid.setLength(SkScalarDiv(radius, sinHalfAngle)); |
+ mid.setLength(radius / sinHalfAngle); |
DO_MITER: |
if (prevIsLine) |
outer->setLastPt(pivot.fX + mid.fX, pivot.fY + mid.fY); |