diff options
Diffstat (limited to 'include/core/SkPixmap.h')
-rw-r--r-- | include/core/SkPixmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h index c703386d1f..55e38cca4b 100644 --- a/include/core/SkPixmap.h +++ b/include/core/SkPixmap.h @@ -22,7 +22,7 @@ struct SkMask; class SK_API SkPixmap { public: SkPixmap() - : fPixels(NULL), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) + : fPixels(nullptr), fRowBytes(0), fInfo(SkImageInfo::MakeUnknown(0, 0)) {} SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes) @@ -32,7 +32,7 @@ public: void reset(); void reset(const SkImageInfo& info, const void* addr, size_t rowBytes); void reset(const SkImageInfo& info) { - this->reset(info, NULL, 0); + this->reset(info, nullptr, 0); } // overrides the colorspace in the SkImageInfo of the pixmap |