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 /samplecode/SampleHT.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 'samplecode/SampleHT.cpp')
-rw-r--r-- | samplecode/SampleHT.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samplecode/SampleHT.cpp b/samplecode/SampleHT.cpp index 7b452505a4..099adcc948 100644 --- a/samplecode/SampleHT.cpp +++ b/samplecode/SampleHT.cpp @@ -54,7 +54,7 @@ public: fR = SkRect::MakeXYWH(rand.nextRangeF(0, 640), rand.nextRangeF(0, 480), rand.nextRangeF(20, 200), rand.nextRangeF(20, 200)); fColor = rand_opaque_color(rand.nextU()); - fInterp = NULL; + fInterp = nullptr; fTime = 0; } @@ -102,7 +102,7 @@ public: switch (res) { case SkInterpolator::kFreezeEnd_Result: delete fInterp; - fInterp = NULL; + fInterp = nullptr; break; default: break; @@ -172,8 +172,8 @@ protected: break; } } - this->inval(NULL); - return NULL; + this->inval(nullptr); + return nullptr; } private: |