Index: src/effects/SkPictureImageFilter.cpp |
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp |
index bf1ba8d7eb9a168cc4c161bd732d7bfd062deb94..d85024e2254289e803ad1dd2a6405e62140ae448 100644 |
--- a/src/effects/SkPictureImageFilter.cpp |
+++ b/src/effects/SkPictureImageFilter.cpp |
@@ -14,7 +14,7 @@ |
#include "SkValidationUtils.h" |
SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture) |
- : INHERITED(0, 0, NULL) |
+ : INHERITED(0, 0, nullptr) |
, fPicture(SkSafeRef(picture)) |
, fCropRect(picture ? picture->cullRect() : SkRect::MakeEmpty()) |
, fPictureResolution(kDeviceSpace_PictureResolution) |
@@ -24,7 +24,7 @@ SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture) |
SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, |
PictureResolution pictureResolution, |
SkFilterQuality filterQuality) |
- : INHERITED(0, 0, NULL) |
+ : INHERITED(0, 0, nullptr) |
, fPicture(SkSafeRef(picture)) |
, fCropRect(cropRect) |
, fPictureResolution(pictureResolution) |
@@ -71,7 +71,7 @@ void SkPictureImageFilter::flatten(SkWriteBuffer& buffer) const { |
if (buffer.isCrossProcess() && SkPicture::PictureIOSecurityPrecautionsEnabled()) { |
buffer.writeBool(false); |
} else { |
- bool hasPicture = (fPicture != NULL); |
+ bool hasPicture = (fPicture != nullptr); |
buffer.writeBool(hasPicture); |
if (hasPicture) { |
fPicture->flatten(buffer); |
@@ -104,7 +104,7 @@ bool SkPictureImageFilter::onFilterImage(Proxy* proxy, const SkBitmap&, const Co |
} |
SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); |
- if (NULL == device.get()) { |
+ if (nullptr == device.get()) { |
return false; |
} |