| Index: tests/CodexTest.cpp
|
| diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
|
| index 2ea6eda57ec86a899a83f5778b31ddea2b0fada6..784ef12b6ccc69e3dd3f32baf72efaff78692289 100644
|
| --- a/tests/CodexTest.cpp
|
| +++ b/tests/CodexTest.cpp
|
| @@ -157,8 +157,8 @@ static void check(skiatest::Reporter* r,
|
| REPORTER_ASSERT(r, scanlineDecoder->start(info) == SkCodec::kSuccess);
|
|
|
| for (int y = 0; y < info.height(); y++) {
|
| - result = scanlineDecoder->getScanlines(bm.getAddr(0, y), 1, 0);
|
| - REPORTER_ASSERT(r, result == SkCodec::kSuccess);
|
| + const uint32_t lines = scanlineDecoder->getScanlines(bm.getAddr(0, y), 1, 0);
|
| + REPORTER_ASSERT(r, 1 == lines);
|
| }
|
| // verify that scanline decoding gives the same result.
|
| if (SkScanlineDecoder::kTopDown_SkScanlineOrder == scanlineDecoder->getScanlineOrder()) {
|
|
|