Index: src/image/SkSurface.cpp |
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp |
index 9f24e97c50529888edef62144043880ffb57a8d8..3a28e421a880df9ff6ae9962aa504c6bd63bb040 100644 |
--- a/src/image/SkSurface.cpp |
+++ b/src/image/SkSurface.cpp |
@@ -45,7 +45,7 @@ void SkSurface_Base::aboutToDraw(ContentChangeMode mode) { |
SkASSERT(!fCachedCanvas || fCachedCanvas->getSurfaceBase() == this); |
- if (NULL != fCachedImage) { |
+ if (fCachedImage) { |
// the surface may need to fork its backend, if its sharing it with |
// the cached image. Note: we only call if there is an outstanding owner |
// on the image (besides us). |