Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp
index d136608..5849d73 100644
--- a/tests/Writer32Test.cpp
+++ b/tests/Writer32Test.cpp
@@ -31,8 +31,8 @@
uint8_t storage[8];
SkWriter32 writer(storage, sizeof(storage));
- // Can we write NULL?
- writer.writeString(NULL);
+ // Can we write nullptr?
+ writer.writeString(nullptr);
const int32_t expected[] = { 0x0, 0x0 };
check_contents(reporter, writer, expected, sizeof(expected));
}
@@ -241,7 +241,7 @@
writer.reset(storage, sizeof(storage));
// This write is small enough to fit in storage, so it's contiguous.
test1(reporter, &writer);
- REPORTER_ASSERT(reporter, writer.contiguousArray() != NULL);
+ REPORTER_ASSERT(reporter, writer.contiguousArray() != nullptr);
// Everything other aspect of contiguous/non-contiguous is an
// implementation detail, not part of the public contract for