aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/MemsetTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MemsetTest.cpp')
-rw-r--r--tests/MemsetTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MemsetTest.cpp b/tests/MemsetTest.cpp
index 1e1378b4ad..76412eec77 100644
--- a/tests/MemsetTest.cpp
+++ b/tests/MemsetTest.cpp
@@ -30,7 +30,7 @@ static void test_chunkalloc(skiatest::Reporter* reporter) {
//------------------------------------------------------------------------
// check empty
check_alloc(reporter, alloc, 0, 0, 0);
- REPORTER_ASSERT(reporter, !alloc.contains(NULL));
+ REPORTER_ASSERT(reporter, !alloc.contains(nullptr));
REPORTER_ASSERT(reporter, !alloc.contains(reporter));
// reset on empty allocator