aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r--include/core/SkBitmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index f880883cd4..3304f3c3ec 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -393,7 +393,7 @@ public:
it has non-null pixels).
*/
bool readyToDraw() const {
- return this->getPixels() != NULL;
+ return this->getPixels() != nullptr;
}
/** Returns a non-zero, unique value corresponding to the pixels in our
@@ -564,12 +564,12 @@ public:
#endif
bool extractAlpha(SkBitmap* dst) const {
- return this->extractAlpha(dst, NULL, NULL, NULL);
+ return this->extractAlpha(dst, nullptr, nullptr, nullptr);
}
bool extractAlpha(SkBitmap* dst, const SkPaint* paint,
SkIPoint* offset) const {
- return this->extractAlpha(dst, paint, NULL, offset);
+ return this->extractAlpha(dst, paint, nullptr, offset);
}
/** Set dst to contain alpha layer of this bitmap. If destination bitmap