Index: tests/Reader32Test.cpp |
diff --git a/tests/Reader32Test.cpp b/tests/Reader32Test.cpp |
index cfa08b3c1f407d5410e77e2e70d4e757c99fb6b8..c49e57c330ecbfda3c208496ebc35ac96fc29eae 100644 |
--- a/tests/Reader32Test.cpp |
+++ b/tests/Reader32Test.cpp |
@@ -35,8 +35,8 @@ static void assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) |
DEF_TEST(Reader32, reporter) { |
SkReader32 reader; |
assert_empty(reporter, reader); |
- REPORTER_ASSERT(reporter, NULL == reader.base()); |
- REPORTER_ASSERT(reporter, NULL == reader.peek()); |
+ REPORTER_ASSERT(reporter, nullptr == reader.base()); |
+ REPORTER_ASSERT(reporter, nullptr == reader.peek()); |
size_t i; |
@@ -74,8 +74,8 @@ DEF_TEST(Reader32, reporter) { |
reader.read(buffer, sizeof(data2)); |
REPORTER_ASSERT(reporter, !memcmp(data2, buffer, sizeof(data2))); |
- reader.setMemory(NULL, 0); |
+ reader.setMemory(nullptr, 0); |
assert_empty(reporter, reader); |
- REPORTER_ASSERT(reporter, NULL == reader.base()); |
- REPORTER_ASSERT(reporter, NULL == reader.peek()); |
+ REPORTER_ASSERT(reporter, nullptr == reader.base()); |
+ REPORTER_ASSERT(reporter, nullptr == reader.peek()); |
} |