Index: src/core/SkBBoxHierarchyRecord.cpp |
diff --git a/src/core/SkBBoxHierarchyRecord.cpp b/src/core/SkBBoxHierarchyRecord.cpp |
index f4e79fa8288e5b0c0c69dd14cbb17410f7ef85db..4712abb2b260369233afa1a39c99ade2dfea6c39 100644 |
--- a/src/core/SkBBoxHierarchyRecord.cpp |
+++ b/src/core/SkBBoxHierarchyRecord.cpp |
@@ -34,9 +34,9 @@ SkCanvas::SaveLayerStrategy SkBBoxHierarchyRecord::willSaveLayer(const SkRect* b |
SaveFlags flags) { |
// For now, assume all filters affect transparent black. |
// FIXME: This could be made less conservative as an optimization. |
- bool paintAffectsTransparentBlack = NULL != paint && |
- ((NULL != paint->getImageFilter()) || |
- (NULL != paint->getColorFilter())); |
+ bool paintAffectsTransparentBlack = paint && |
+ ((paint->getImageFilter()) || |
+ (paint->getColorFilter())); |
SkRect drawBounds; |
if (paintAffectsTransparentBlack) { |
SkIRect deviceBounds; |