diff options
Diffstat (limited to 'tests/ClipStackTest.cpp')
-rw-r--r-- | tests/ClipStackTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp index 8448f4cbe5..744ef18d17 100644 --- a/tests/ClipStackTest.cpp +++ b/tests/ClipStackTest.cpp @@ -979,8 +979,8 @@ static void test_reduced_clip_stack(skiatest::Reporter* reporter) { bool doSave = r.nextBool(); SkSize size = SkSize::Make( - SkScalarMul(kBounds.width(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac)), - SkScalarMul(kBounds.height(), r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac))); + kBounds.width() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac), + kBounds.height() * r.nextRangeScalar(kMinElemSizeFrac, kMaxElemSizeFrac)); SkPoint xy = {r.nextRangeScalar(kBounds.fLeft, kBounds.fRight - size.fWidth), r.nextRangeScalar(kBounds.fTop, kBounds.fBottom - size.fHeight)}; |