From ccb21bffebd359643f5b125ea85b6193e311db6c Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 9 Jul 2018 14:57:48 -0400 Subject: Add sRGB profile to mandrill images Bug: skia: Change-Id: Ic0e0ae23c88f86885583a304d90d1ce874ff14ed Reviewed-on: https://skia-review.googlesource.com/139960 Auto-Submit: Brian Osman Commit-Queue: Mike Klein Reviewed-by: Mike Klein --- tests/CodecTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/CodecTest.cpp') diff --git a/tests/CodecTest.cpp b/tests/CodecTest.cpp index 5b1ef0e06d..35cfb6c11b 100644 --- a/tests/CodecTest.cpp +++ b/tests/CodecTest.cpp @@ -514,7 +514,8 @@ DEF_TEST(Codec_png, r) { // half-transparent-white-pixel.png is too small to test incomplete check(r, "images/half-transparent-white-pixel.png", SkISize::Make(1, 1), false, false, false, true); check(r, "images/mandrill_128.png", SkISize::Make(128, 128), false, false, true, true); - check(r, "images/mandrill_16.png", SkISize::Make(16, 16), false, false, true, true); + // mandrill_16.png is too small (relative to embedded sRGB profile) to test incomplete + check(r, "images/mandrill_16.png", SkISize::Make(16, 16), false, false, false, true); check(r, "images/mandrill_256.png", SkISize::Make(256, 256), false, false, true, true); check(r, "images/mandrill_32.png", SkISize::Make(32, 32), false, false, true, true); check(r, "images/mandrill_512.png", SkISize::Make(512, 512), false, false, true, true); -- cgit v1.2.3