diff options
Diffstat (limited to 'gm/pathfill.cpp')
-rw-r--r-- | gm/pathfill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp index 2562e7c9a5..de762a9548 100644 --- a/gm/pathfill.cpp +++ b/gm/pathfill.cpp @@ -119,7 +119,7 @@ static SkScalar make_star(SkPath* path, int n) { for (int i = 1; i < n; i++) { rad += drad; SkScalar cosV, sinV = SkScalarSinCos(rad, &cosV); - path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); + path->lineTo(c + cosV * r, c + sinV * r); } path->close(); return r * 2 * 6 / 5; |