Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 8bebd20aa90a69795038cc998f910b6b2e67ad7e..1e1ec45f70026e457e1fd981223de94a4ef30295 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -245,11 +245,11 @@ SkImageFilter* SkMagnifierImageFilter::Create(const SkRect& srcRect, SkScalar in |
SkImageFilter* input) { |
if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { |
- return NULL; |
+ return nullptr; |
} |
// Negative numbers in src rect are not supported |
if (srcRect.fLeft < 0 || srcRect.fTop < 0) { |
- return NULL; |
+ return nullptr; |
} |
return new SkMagnifierImageFilter(srcRect, inset, input); |
} |