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 --- src/core/SkDeviceLooper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/SkDeviceLooper.cpp') diff --git a/src/core/SkDeviceLooper.cpp b/src/core/SkDeviceLooper.cpp index 840a050436..c4e401361c 100644 --- a/src/core/SkDeviceLooper.cpp +++ b/src/core/SkDeviceLooper.cpp @@ -16,8 +16,8 @@ SkDeviceLooper::SkDeviceLooper(const SkPixmap& base, const SkRasterClip& rc, con { // sentinels that next() has not yet been called, and so our mapper functions // should not be called either. - fCurrDst = NULL; - fCurrRC = NULL; + fCurrDst = nullptr; + fCurrRC = nullptr; if (!rc.isEmpty()) { // clip must be contained by the bitmap @@ -102,7 +102,7 @@ bool SkDeviceLooper::next() { case kSimple_State: // first time for simple - if (NULL == fCurrDst) { + if (nullptr == fCurrDst) { fCurrDst = &fBaseDst; fCurrRC = &fBaseRC; fCurrOffset.set(0, 0); -- cgit v1.2.3