Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index 35b4d056a532927b343effb1d040b8b6d2aecb6d..42cc8ab51bf5155cc3da5c8fd0721ddb1df0fd37 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -9,8 +9,6 @@ |
#ifndef SkPicture_DEFINED |
#define SkPicture_DEFINED |
-#include "SkBitmap.h" |
-#include "SkDrawPictureCallback.h" |
#include "SkImageDecoder.h" |
#include "SkRefCnt.h" |
#include "SkTDArray.h" |
@@ -19,6 +17,8 @@ |
class GrContext; |
#endif |
+class SkAbortCallback; |
+class SkBitmap; |
class SkBBoxHierarchy; |
class SkCanvas; |
class SkData; |
@@ -109,7 +109,7 @@ public: |
@param canvas the canvas receiving the drawing commands. |
@param callback a callback that allows interruption of playback |
*/ |
- void playback(SkCanvas* canvas, SkDrawPictureCallback* = NULL) const; |
+ void playback(SkCanvas* canvas, SkAbortCallback* = NULL) const; |
/** Return the cull rect used when creating this picture: { 0, 0, cullWidth, cullHeight }. |
It does not necessarily reflect the bounds of what has been recorded into the picture. |