diff options
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r-- | tests/PictureTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 071e6f4129..27095821c1 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -889,7 +889,8 @@ 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, 0 == info2.fOffset.fX && 0 == info2.fOffset.fY); + 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 |