aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DequeTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DequeTest.cpp')
-rw-r--r--tests/DequeTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/DequeTest.cpp b/tests/DequeTest.cpp
index 04b1f4010e..b41262f738 100644
--- a/tests/DequeTest.cpp
+++ b/tests/DequeTest.cpp
@@ -13,8 +13,8 @@ static void assert_count(skiatest::Reporter* reporter, const SkDeque& deq, int c
REPORTER_ASSERT(reporter, deq.empty());
REPORTER_ASSERT(reporter, 0 == deq.count());
REPORTER_ASSERT(reporter, sizeof(int) == deq.elemSize());
- REPORTER_ASSERT(reporter, NULL == deq.front());
- REPORTER_ASSERT(reporter, NULL == deq.back());
+ REPORTER_ASSERT(reporter, nullptr == deq.front());
+ REPORTER_ASSERT(reporter, nullptr == deq.back());
} else {
REPORTER_ASSERT(reporter, !deq.empty());
REPORTER_ASSERT(reporter, count == deq.count());