diff options
-rw-r--r-- | tests/PictureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 27095821c1..5242fd6825 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -889,7 +889,7 @@ static void test_gpu_picture_optimization(skiatest::Reporter* reporter, REPORTER_ASSERT(reporter, kWidth/2 == info2.fSize.fWidth && kHeight/2 == info2.fSize.fHeight); // bound reduces size REPORTER_ASSERT(reporter, info2.fCTM.isIdentity()); // translated - REPORTER_ASSERT(reporter, kWidth/2 == info2.fOffset.fX && + REPORTER_ASSERT(reporter, kWidth/2 == info2.fOffset.fX && kHeight/2 == info2.fOffset.fY); REPORTER_ASSERT(reporter, NULL != info1.fPaint); REPORTER_ASSERT(reporter, info2.fIsNested && !info2.fHasNestedLayers); // is nested |