aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordPatternTest.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/RecordPatternTest.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
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));
}