diff options
Diffstat (limited to 'tests/ImageDecodingTest.cpp')
-rw-r--r-- | tests/ImageDecodingTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp index 4d26167370..30665a6f8e 100644 --- a/tests/ImageDecodingTest.cpp +++ b/tests/ImageDecodingTest.cpp @@ -278,7 +278,7 @@ DEF_TEST(ImageDecoding_unpremul, reporter) { // This should never fail since we know the images we're decoding. SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(&stream)); - REPORTER_ASSERT(reporter, NULL != decoder.get()); + REPORTER_ASSERT(reporter, decoder.get()); if (NULL == decoder.get()) { continue; } @@ -510,9 +510,9 @@ DEF_TEST(ImprovedBitmapFactory, reporter) { SkBitmap bm; SkAssertResult(bm.setInfo(SkImageInfo::MakeN32Premul(1, 1))); REPORTER_ASSERT(reporter, - NULL != install_pixel_ref(&bm, stream.detach(), 1, true)); + install_pixel_ref(&bm, stream.detach(), 1, true)); SkAutoLockPixels alp(bm); - REPORTER_ASSERT(reporter, NULL != bm.getPixels()); + REPORTER_ASSERT(reporter, bm.getPixels()); } } |