aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PDFDocumentTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-27 07:41:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 07:41:16 -0700
commit96fcdcc219d2a0d3579719b84b28bede76efba64 (patch)
tree0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tests/PDFDocumentTest.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
Diffstat (limited to 'tests/PDFDocumentTest.cpp')
-rw-r--r--tests/PDFDocumentTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFDocumentTest.cpp b/tests/PDFDocumentTest.cpp
index f9fcdff6a2..04c3ede6aa 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);