| Index: tests/CodexTest.cpp
|
| diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
|
| index 80164b294bbc03faf31dcbc2877b78582e5a4d60..5fcf341233c3d7b95af5a21733ab767f463a8f30 100644
|
| --- a/tests/CodexTest.cpp
|
| +++ b/tests/CodexTest.cpp
|
| @@ -157,7 +157,9 @@ static void check(skiatest::Reporter* r,
|
| REPORTER_ASSERT(r, result == SkCodec::kSuccess);
|
| }
|
| // verify that scanline decoding gives the same result.
|
| - compare_to_good_digest(r, digest, bm);
|
| + if (SkScanlineDecoder::kTopDown_SkScanlineOrder == scanlineDecoder->getScanlineOrder()) {
|
| + compare_to_good_digest(r, digest, bm);
|
| + }
|
| } else {
|
| REPORTER_ASSERT(r, !scanlineDecoder);
|
| }
|
| @@ -208,7 +210,7 @@ DEF_TEST(Codec, r) {
|
| check(r, "yellow_rose.webp", SkISize::Make(400, 301), false, true);
|
|
|
| // BMP
|
| - check(r, "randPixels.bmp", SkISize::Make(8, 8), false, false);
|
| + check(r, "randPixels.bmp", SkISize::Make(8, 8), true, false);
|
|
|
| // ICO
|
| // These two tests examine interestingly different behavior:
|
|
|