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