Index: samplecode/SampleTiling.cpp |
diff --git a/samplecode/SampleTiling.cpp b/samplecode/SampleTiling.cpp |
index 5f995e2bdbb46b3cd76819c39a987ea71d59c301..ba79e5a0babea381d0c2baaf2958b8e1c79bcf55 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()); |
} |