diff options
author | reed <reed@chromium.org> | 2015-01-20 19:58:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-20 19:58:36 -0800 |
commit | 3f43f8ab9cd3ba0ea83f5ae0659c21f101dfca7a (patch) | |
tree | 1bb626ef3a953848e28bbba764880b01fb46b124 /tests/RoundRectTest.cpp | |
parent | 3e3b58d57a358e2d52bc23ad2409a95d59310100 (diff) |
remove dead SkPersp macros
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/864713002
Diffstat (limited to 'tests/RoundRectTest.cpp')
-rw-r--r-- | tests/RoundRectTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/RoundRectTest.cpp b/tests/RoundRectTest.cpp index 261ec67ca0..b67718a6b1 100644 --- a/tests/RoundRectTest.cpp +++ b/tests/RoundRectTest.cpp @@ -433,11 +433,11 @@ static void test_transform_helper(skiatest::Reporter* reporter, const SkRRect& o assert_transform_failure(reporter, orig, matrix); matrix.reset(); - matrix.setPerspX(SkScalarToPersp(SkIntToScalar(4))); + matrix.setPerspX(4); assert_transform_failure(reporter, orig, matrix); matrix.reset(); - matrix.setPerspY(SkScalarToPersp(SkIntToScalar(5))); + matrix.setPerspY(5); assert_transform_failure(reporter, orig, matrix); // Rotation fails. @@ -492,7 +492,7 @@ static void test_transform_helper(skiatest::Reporter* reporter, const SkRRect& o REPORTER_ASSERT(reporter, orig.rect().top() == dst.rect().top()); // Keeping the scale, but adding a persp will make transform fail. - matrix.setPerspX(SkScalarToPersp(SkIntToScalar(7))); + matrix.setPerspX(7); assert_transform_failure(reporter, orig, matrix); // Scaling in -y will flip the round rect vertically. |