Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 78b65d6d7b7d161a067e99a8553741507558b550..308ce9ec3fa2cd906d0f662f6d0ff57969a7fc00 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -83,7 +83,7 @@ bool SkPicturePlayback::initIterator(SkPictureStateTree::Iterator* iter, |
SkCanvas* canvas, |
const SkPicture::OperationList *activeOpsList) { |
- if (NULL != activeOpsList) { |
+ if (activeOpsList) { |
if (0 == activeOpsList->numOps()) { |
return false; // nothing to draw |
} |
@@ -150,7 +150,7 @@ void SkPicturePlayback::draw(SkCanvas* canvas, SkDrawPictureCallback* callback) |
SkAutoCanvasRestore acr(canvas, false); |
while (!reader.eof()) { |
- if (NULL != callback && callback->abortDrawing()) { |
+ if (callback && callback->abortDrawing()) { |
return; |
} |