Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 94d5190c5e6cadc032f33e7080b689ece30a55cb..4f775cf9fd93305cd94adf1f9172aed90f516d4f 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -65,7 +65,7 @@ static SkBitmap shallow_copy(const SkBitmap& bitmap) { |
return bitmap; |
} |
-void SkPicturePlayback::draw(SkCanvas* canvas, SkDrawPictureCallback* callback) { |
+void SkPicturePlayback::draw(SkCanvas* canvas, SkPicture::AbortCallback* callback) { |
AutoResetOpID aroi(this); |
SkASSERT(0 == fCurOffset); |
@@ -77,7 +77,7 @@ void SkPicturePlayback::draw(SkCanvas* canvas, SkDrawPictureCallback* callback) |
SkAutoCanvasRestore acr(canvas, false); |
while (!reader.eof()) { |
- if (callback && callback->abortDrawing()) { |
+ if (callback && callback->abort()) { |
return; |
} |