From 3f43f8ab9cd3ba0ea83f5ae0659c21f101dfca7a Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 20 Jan 2015 19:58:36 -0800 Subject: remove dead SkPersp macros BUG=skia: TBR= Review URL: https://codereview.chromium.org/864713002 --- tests/RoundRectTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/RoundRectTest.cpp') 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. -- cgit v1.2.3