Index: src/images/SkScaledBitmapSampler.h |
diff --git a/src/images/SkScaledBitmapSampler.h b/src/images/SkScaledBitmapSampler.h |
index 90c4142bdfb444db79cd2059c1b03afe5328e9cb..198dc07572c0dcf9b920ab08504d16814a4e7ec0 100644 |
--- a/src/images/SkScaledBitmapSampler.h |
+++ b/src/images/SkScaledBitmapSampler.h |
@@ -49,9 +49,9 @@ public: |
// prepares iterator to process the src colors and write them into dst. |
// Returns false if the request cannot be fulfulled. |
bool begin(SkBitmap* dst, SrcConfig sc, const SkImageDecoder& decoder, |
- const SkPMColor* = NULL); |
+ const SkPMColor* = nullptr); |
bool begin(SkBitmap* dst, SrcConfig sc, const Options& opts, |
- const SkPMColor* = NULL); |
+ const SkPMColor* = nullptr); |
// call with row of src pixels, for y = 0...scaledHeight-1. |
// returns true if the row had non-opaque alpha in it |
bool next(const uint8_t* SK_RESTRICT src); |