| Index: tests/JpegTest.cpp
|
| diff --git a/tests/JpegTest.cpp b/tests/JpegTest.cpp
|
| index 1153a3682b340c358ffca297fb52022d4c76dcb0..daa932c4c9b046f2a1b89da1578d3d357923e190 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));
|
| }
|
|
|