Index: src/core/SkBitmapProcState.cpp |
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp |
index 068a107153de434ae1e05478640cdeb8a2476c30..6c1dc30449a81ed0a1ddd7686a2cd5eaab5b1a31 100644 |
--- a/src/core/SkBitmapProcState.cpp |
+++ b/src/core/SkBitmapProcState.cpp |
@@ -188,12 +188,12 @@ bool SkBitmapProcState::possiblyScaleImage() { |
} |
- SkASSERT(NULL != fScaledBitmap.getPixels()); |
+ SkASSERT(fScaledBitmap.getPixels()); |
fScaledBitmap.setImmutable(); |
SkBitmapCache::Add(fOrigBitmap, roundedDestWidth, roundedDestHeight, fScaledBitmap); |
} |
- SkASSERT(NULL != fScaledBitmap.getPixels()); |
+ SkASSERT(fScaledBitmap.getPixels()); |
fBitmap = &fScaledBitmap; |
// set the inv matrix type to translate-only; |