Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index b8efd2dcc827a6df33dbac2d8b58440cbc4d1e04..cde29c0f4cbca756f92c859d987762f1e081fb4c 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -570,7 +570,7 @@ bool apply_morphology(const SkBitmap& input, |
if (radius.fWidth > 0) { |
GrTexture* scratch = context->textureProvider()->createApproxTexture(desc); |
- if (NULL == scratch) { |
+ if (nullptr == scratch) { |
return false; |
} |
GrDrawContext* dstDrawContext = context->drawContext(); |
@@ -593,7 +593,7 @@ bool apply_morphology(const SkBitmap& input, |
} |
if (radius.fHeight > 0) { |
GrTexture* scratch = context->textureProvider()->createApproxTexture(desc); |
- if (NULL == scratch) { |
+ if (nullptr == scratch) { |
return false; |
} |
GrDrawContext* dstDrawContext = context->drawContext(); |