diff options
Diffstat (limited to 'src/core/SkLayerInfo.h')
-rw-r--r-- | src/core/SkLayerInfo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkLayerInfo.h b/src/core/SkLayerInfo.h index 5d598ef50a..04ae1794a2 100644 --- a/src/core/SkLayerInfo.h +++ b/src/core/SkLayerInfo.h @@ -18,7 +18,7 @@ public: // Information about a given saveLayer/restore block in an SkPicture class BlockInfo { public: - BlockInfo() : fPicture(NULL), fPaint(NULL), fKey(NULL), fKeySize(0) {} + BlockInfo() : fPicture(nullptr), fPaint(nullptr), fKey(nullptr), fKeySize(0) {} ~BlockInfo() { SkSafeUnref(fPicture); delete fPaint; @@ -27,8 +27,8 @@ public: // The picture owning the layer. If the owning picture is the top-most // one (i.e., the picture for which this SkLayerInfo was created) then - // this pointer is NULL. If it is a nested picture then the pointer - // is non-NULL and owns a ref on the picture. + // this pointer is nullptr. If it is a nested picture then the pointer + // is non-nullptr and owns a ref on the picture. const SkPicture* fPicture; // The device space bounds of this layer. SkRect fBounds; @@ -46,7 +46,7 @@ public: // layer's top-left point to the origin (which must be part of the // initial matrix). SkMatrix fLocalMat; - // The paint to use on restore. Can be NULL since it is optional. + // The paint to use on restore. Can be nullptr since it is optional. const SkPaint* fPaint; // The index of this saveLayer in the picture. size_t fSaveLayerOpID; |