diff options
author | halcanary <halcanary@google.com> | 2015-08-27 07:41:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-27 07:41:16 -0700 |
commit | 96fcdcc219d2a0d3579719b84b28bede76efba64 (patch) | |
tree | 0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /tests/RecordPatternTest.cpp | |
parent | 435af2f736c85c3274a0c6760a3523810750d237 (diff) |
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002
Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'tests/RecordPatternTest.cpp')
-rw-r--r-- | tests/RecordPatternTest.cpp | 8 |
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)); } |