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/SampleTiling.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'samplecode/SampleTiling.cpp') 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()); } -- cgit v1.2.3