Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2011)

Unified Diff: samplecode/SampleHT.cpp

Issue 1316233002: Style Change: NULL->nullptr (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-27 (Thursday) 10:25:06 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samplecode/SampleGradients.cpp ('k') | samplecode/SampleHairModes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleHT.cpp
diff --git a/samplecode/SampleHT.cpp b/samplecode/SampleHT.cpp
index 7b452505a40ce1db3396fdd25781b22e8727be33..099adcc948db86733e6defd69f655c614c8ee93e 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:
« no previous file with comments | « samplecode/SampleGradients.cpp ('k') | samplecode/SampleHairModes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698