Index: src/effects/SkTableMaskFilter.cpp |
diff --git a/src/effects/SkTableMaskFilter.cpp b/src/effects/SkTableMaskFilter.cpp |
index dc9b335fd4820994618ab13820b0673b847d2aba..999b998e32068264b430d862ec65f269ce495438 100644 |
--- a/src/effects/SkTableMaskFilter.cpp |
+++ b/src/effects/SkTableMaskFilter.cpp |
@@ -33,7 +33,7 @@ bool SkTableMaskFilter::filterMask(SkMask* dst, const SkMask& src, |
dst->fBounds = src.fBounds; |
dst->fRowBytes = SkAlign4(dst->fBounds.width()); |
dst->fFormat = SkMask::kA8_Format; |
- dst->fImage = NULL; |
+ dst->fImage = nullptr; |
if (src.fImage) { |
dst->fImage = SkMask::AllocImage(dst->computeImageSize()); |
@@ -77,7 +77,7 @@ void SkTableMaskFilter::flatten(SkWriteBuffer& wb) const { |
SkFlattenable* SkTableMaskFilter::CreateProc(SkReadBuffer& buffer) { |
uint8_t table[256]; |
if (!buffer.readByteArray(table, 256)) { |
- return NULL; |
+ return nullptr; |
} |
return Create(table); |
} |