aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleCull.cpp
diff options
context:
space:
mode:
authorhalcanary <halcanary@google.com>2015-08-27 07:41:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-27 07:41:16 -0700
commit96fcdcc219d2a0d3579719b84b28bede76efba64 (patch)
tree0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /samplecode/SampleCull.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
Diffstat (limited to 'samplecode/SampleCull.cpp')
-rw-r--r--samplecode/SampleCull.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleCull.cpp b/samplecode/SampleCull.cpp
index afc41849cb..011b22f9e7 100644
--- a/samplecode/SampleCull.cpp
+++ b/samplecode/SampleCull.cpp
@@ -161,7 +161,7 @@ protected:
paint.setStrokeWidth(SkIntToScalar(2));
// paint.setPathEffect(new SkCornerPathEffect(SkIntToScalar(30)))->unref();
canvas->drawPath(fPath, paint);
-// paint.setPathEffect(NULL);
+// paint.setPathEffect(nullptr);
#endif
SkPath tmp;
@@ -179,7 +179,7 @@ protected:
paint.setStrokeJoin(SkPaint::kRound_Join);
canvas->drawPath(tmp, paint);
- this->inval(NULL);
+ this->inval(nullptr);
}
private: