aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PaintTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PaintTest.cpp')
-rw-r--r--tests/PaintTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
index 55a82a73e4..7ddcd0d78f 100644
--- a/tests/PaintTest.cpp
+++ b/tests/PaintTest.cpp
@@ -192,7 +192,7 @@ DEF_TEST(Paint_regression_cubic, reporter) {
SkRect maxR = fillR;
SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter());
SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ?
- SkScalarMul(paint.getStrokeWidth(), miter) :
+ paint.getStrokeWidth() * miter :
paint.getStrokeWidth();
maxR.inset(-inset, -inset);