aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleTiling.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-08-27 07:41:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-27 07:41:16 -0700
commit96fcdcc219d2a0d3579719b84b28bede76efba64 (patch)
tree0ec5ea0193d8292df8bf5ed9dd8498a5eb5763dd /samplecode/SampleTiling.cpp
parent435af2f736c85c3274a0c6760a3523810750d237 (diff)
Style Change: NULL->nullptr
Diffstat (limited to 'samplecode/SampleTiling.cpp')
-rw-r--r--samplecode/SampleTiling.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp
index 5f995e2bdb..ba79e5a0ba 100644
--- a/samplecode/SampleTiling.cpp
+++ b/samplecode/SampleTiling.cpp
@@ -97,9 +97,9 @@ protected:
SkScalar x = SkIntToScalar(10);
SkPictureRecorder recorder;
- SkCanvas* textCanvas = NULL;
- if (NULL == fTextPicture) {
- textCanvas = recorder.beginRecording(1000, 1000, NULL, 0);
+ SkCanvas* textCanvas = nullptr;
+ if (nullptr == fTextPicture) {
+ textCanvas = recorder.beginRecording(1000, 1000, nullptr, 0);
}
if (textCanvas) {
@@ -153,7 +153,7 @@ protected:
}
if (textCanvas) {
- SkASSERT(NULL == fTextPicture);
+ SkASSERT(nullptr == fTextPicture);
fTextPicture.reset(recorder.endRecording());
}