aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordPatternTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/RecordPatternTest.cpp')
-rw-r--r--tests/RecordPatternTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/RecordPatternTest.cpp b/tests/RecordPatternTest.cpp
index b88165d6f3..d1e48bb838 100644
--- a/tests/RecordPatternTest.cpp
+++ b/tests/RecordPatternTest.cpp
@@ -35,9 +35,9 @@ DEF_TEST(RecordPattern_Simple, r) {
recorder.restore();
REPORTER_ASSERT(r, pattern.match(&record, 0));
- REPORTER_ASSERT(r, pattern.first<Save>() != NULL);
- REPORTER_ASSERT(r, pattern.second<ClipRect>() != NULL);
- REPORTER_ASSERT(r, pattern.third<Restore>() != NULL);
+ REPORTER_ASSERT(r, pattern.first<Save>() != nullptr);
+ REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr);
+ REPORTER_ASSERT(r, pattern.third<Restore>() != nullptr);
}
DEF_TEST(RecordPattern_StartingIndex, r) {
@@ -146,7 +146,7 @@ DEF_TEST(RecordPattern_SaveLayerIsNotADraw, r) {
SkRecord record;
SkRecorder recorder(&record, 1920, 1200);
- recorder.saveLayer(NULL, NULL);
+ recorder.saveLayer(nullptr, nullptr);
REPORTER_ASSERT(r, !pattern.match(&record, 0));
}