Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index ce10f56fd66a81116ba483ebeffd6b3e155b043b..77fed2ffe3ecd3de5c2c2c5aab3c38055001f613 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -1011,7 +1011,7 @@ static void test_savelayer_extraction(skiatest::Reporter* reporter) { |
kHeight/2.0 == info1.fBounds.height()); |
REPORTER_ASSERT(reporter, info1.fLocalMat.isIdentity()); |
REPORTER_ASSERT(reporter, info1.fPreMat.isIdentity()); |
- REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.fLeft && |
+ REPORTER_ASSERT(reporter, kWidth/2.0 == info1.fBounds.fLeft && |
kHeight/2.0 == info1.fBounds.fTop); |
REPORTER_ASSERT(reporter, NULL == info1.fPaint); |
REPORTER_ASSERT(reporter, !info1.fIsNested && |
@@ -1733,7 +1733,7 @@ static void test_bytes_used(skiatest::Reporter* reporter) { |
sizeof(SkPicture) + sizeof(SkRecord)); |
// Protect against any unintentional bloat. |
- REPORTER_ASSERT(reporter, SkPictureUtils::ApproximateBytesUsed(empty.get()) <= 144); |
+ REPORTER_ASSERT(reporter, SkPictureUtils::ApproximateBytesUsed(empty.get()) <= 128); |
// Sanity check of nested SkPictures. |
SkPictureRecorder r2; |