From 96fcdcc219d2a0d3579719b84b28bede76efba64 Mon Sep 17 00:00:00 2001 From: halcanary Date: Thu, 27 Aug 2015 07:41:13 -0700 Subject: Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002 --- samplecode/SampleHT.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'samplecode/SampleHT.cpp') 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: -- cgit v1.2.3