Index: tests/PDFDocumentTest.cpp |
diff --git a/tests/PDFDocumentTest.cpp b/tests/PDFDocumentTest.cpp |
index f9fcdff6a2b8d1e906cd59c6c6482351539c4a41..04c3ede6aa4c595ae7ea6799c23e9d26b1f5d90a 100644 |
--- a/tests/PDFDocumentTest.cpp |
+++ b/tests/PDFDocumentTest.cpp |
@@ -82,7 +82,7 @@ static void test_file(skiatest::Reporter* reporter) { |
doc->close(); |
FILE* file = fopen(path.c_str(), "r"); |
- REPORTER_ASSERT(reporter, file != NULL); |
+ REPORTER_ASSERT(reporter, file != nullptr); |
char header[100]; |
REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0); |
REPORTER_ASSERT(reporter, strncmp(header, "%PDF", 4) == 0); |