| Index: tests/RegionTest.cpp
|
| diff --git a/tests/RegionTest.cpp b/tests/RegionTest.cpp
|
| index 121f16d6ec521454bbf0d534327e25178b21d6dc..4a9605641991d81ea58ed0970ae4f440a4d1788e 100644
|
| --- a/tests/RegionTest.cpp
|
| +++ b/tests/RegionTest.cpp
|
| @@ -266,7 +266,7 @@ DEF_TEST(Region, reporter) {
|
| // Test that writeToMemory reports the same number of bytes whether there was a
|
| // buffer to write to or not.
|
| static void test_write(const SkRegion& region, skiatest::Reporter* r) {
|
| - const size_t bytesNeeded = region.writeToMemory(NULL);
|
| + const size_t bytesNeeded = region.writeToMemory(nullptr);
|
| SkAutoMalloc storage(bytesNeeded);
|
| const size_t bytesWritten = region.writeToMemory(storage.get());
|
| REPORTER_ASSERT(r, bytesWritten == bytesNeeded);
|
|
|