aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRangePlayback.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-07-08 13:07:57 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-08 13:07:57 -0700
commit92432c7f7c0a878256f139ce6f73d71e1c202a16 (patch)
treed8f421ddc0675ac6427c0119b2b09dcd6acb1d41 /src/core/SkPictureRangePlayback.cpp
parentf7a180b10f6924ad94a69d6d366e5bce6ed31529 (diff)
Fixed up SkTimedPicturePlayback
This was more motivated to remove the preDraw and postDraw virtuals from SkPicturePlayback. R=mtklein@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/375943002
Diffstat (limited to 'src/core/SkPictureRangePlayback.cpp')
-rw-r--r--src/core/SkPictureRangePlayback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPictureRangePlayback.cpp b/src/core/SkPictureRangePlayback.cpp
index 16473dbfcc..b5e36d6f22 100644
--- a/src/core/SkPictureRangePlayback.cpp
+++ b/src/core/SkPictureRangePlayback.cpp
@@ -29,7 +29,7 @@ void SkPictureRangePlayback::draw(SkCanvas* canvas, SkDrawPictureCallback* callb
SkAutoCanvasRestore acr(canvas, false);
while (!reader.eof()) {
- if (callback && callback->abortDrawing()) {
+ if (NULL != callback && callback->abortDrawing()) {
return;
}