Index: src/effects/SkPictureImageFilter.cpp |
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp |
index 3ca0c099b78f5919172e4f78dd9bb4f392b8a46d..bed19ef89d5a081b07c65d7c32c15c1c13e7e5d8 100644 |
--- a/src/effects/SkPictureImageFilter.cpp |
+++ b/src/effects/SkPictureImageFilter.cpp |
@@ -15,7 +15,7 @@ |
SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, uint32_t uniqueID) |
: INHERITED(0, 0, NULL, uniqueID) |
, fPicture(SkSafeRef(picture)) |
- , fCropRect(NULL != picture ? picture->cullRect() : SkRect::MakeEmpty()) { |
+ , fCropRect(picture ? picture->cullRect() : SkRect::MakeEmpty()) { |
} |
SkPictureImageFilter::SkPictureImageFilter(const SkPicture* picture, const SkRect& cropRect, |