Index: tests/UtilsTest.cpp |
diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp |
index 6db8104acc1e9b35c34bcb413539aa4740a1929a..4dad52b50cd03847382f66a71e47d81ad3cbdd7d 100644 |
--- a/tests/UtilsTest.cpp |
+++ b/tests/UtilsTest.cpp |
@@ -35,8 +35,8 @@ static void test_autounref(skiatest::Reporter* reporter) { |
REPORTER_ASSERT(reporter, &obj == tmp.detach()); |
REPORTER_ASSERT(reporter, obj.unique()); |
- REPORTER_ASSERT(reporter, NULL == tmp.detach()); |
- REPORTER_ASSERT(reporter, NULL == tmp.get()); |
+ REPORTER_ASSERT(reporter, nullptr == tmp.detach()); |
+ REPORTER_ASSERT(reporter, nullptr == tmp.get()); |
obj.ref(); |
REPORTER_ASSERT(reporter, !obj.unique()); |