diff options
Diffstat (limited to 'tests/JpegTest.cpp')
-rw-r--r-- | tests/JpegTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/JpegTest.cpp b/tests/JpegTest.cpp index 1153a3682b..daa932c4c9 100644 --- a/tests/JpegTest.cpp +++ b/tests/JpegTest.cpp @@ -470,7 +470,7 @@ DEF_TEST(Jpeg_YUV, reporter) { SkPixelRef* pixelRef = bitmap.pixelRef(); SkISize yuvSizes[3]; - bool sizesComputed = (NULL != pixelRef) && pixelRef->getYUV8Planes(yuvSizes, NULL, NULL, NULL); + bool sizesComputed = (nullptr != pixelRef) && pixelRef->getYUV8Planes(yuvSizes, nullptr, nullptr, nullptr); REPORTER_ASSERT(reporter, sizesComputed); if (!sizesComputed) { @@ -495,5 +495,5 @@ DEF_TEST(Jpeg_YUV, reporter) { planes[2] = (uint8_t*)planes[1] + sizes[1]; // Get the YUV planes - REPORTER_ASSERT(reporter, pixelRef->getYUV8Planes(yuvSizes, planes, rowBytes, NULL)); + REPORTER_ASSERT(reporter, pixelRef->getYUV8Planes(yuvSizes, planes, rowBytes, nullptr)); } |