Index: src/core/SkImageInfo.cpp |
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp |
index 8429ef28c3b8de2f8056c6df64ca32f55c7e02d0..b90f858562aa8b5f97a495c8ec25afcbec058fe7 100644 |
--- a/src/core/SkImageInfo.cpp |
+++ b/src/core/SkImageInfo.cpp |
@@ -90,7 +90,7 @@ bool SkReadPixelsRec::trim(int srcWidth, int srcHeight) { |
default: |
break; |
} |
- if (NULL == fPixels || fRowBytes < fInfo.minRowBytes()) { |
+ if (nullptr == fPixels || fRowBytes < fInfo.minRowBytes()) { |
return false; |
} |
if (0 == fInfo.width() || 0 == fInfo.height()) { |