Index: src/core/SkMultiPictureDraw.cpp |
diff --git a/src/core/SkMultiPictureDraw.cpp b/src/core/SkMultiPictureDraw.cpp |
index 50af2b717e38a45fb06a3006681cb10a2819b403..eb1e55e5508a749d3908111cc2748c0929137ba8 100644 |
--- a/src/core/SkMultiPictureDraw.cpp |
+++ b/src/core/SkMultiPictureDraw.cpp |
@@ -38,12 +38,12 @@ void SkMultiPictureDraw::add(SkCanvas* canvas, |
data->picture = SkRef(picture); |
data->canvas = SkRef(canvas); |
- if (NULL != matrix) { |
+ if (matrix) { |
data->matrix = *matrix; |
} else { |
data->matrix.setIdentity(); |
} |
- if (NULL != paint) { |
+ if (paint) { |
data->paint = SkNEW_ARGS(SkPaint, (*paint)); |
} else { |
data->paint = NULL; |