Index: tests/RecordPatternTest.cpp |
diff --git a/tests/RecordPatternTest.cpp b/tests/RecordPatternTest.cpp |
index b88165d6f3d50bc93f33081aa69b75c1132b32cb..d1e48bb8386a49f334c64abe9f463482000ad8ae 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)); |
} |