aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkStrokeRec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkStrokeRec.cpp')
-rw-r--r--src/core/SkStrokeRec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkStrokeRec.cpp b/src/core/SkStrokeRec.cpp
index f3cca1653f..7e667bc668 100644
--- a/src/core/SkStrokeRec.cpp
+++ b/src/core/SkStrokeRec.cpp
@@ -147,7 +147,7 @@ static inline SkScalar get_inflation_bounds(SkPaint::Join join,
SkScalar radius = SkScalarHalf(strokeWidth);
if (SkPaint::kMiter_Join == join) {
if (miterLimit > SK_Scalar1) {
- radius = SkScalarMul(miterLimit, radius);
+ radius *= miterLimit;
}
}
return radius;