aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRecordReplaceDraw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrRecordReplaceDraw.h')
-rw-r--r--src/gpu/GrRecordReplaceDraw.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrRecordReplaceDraw.h b/src/gpu/GrRecordReplaceDraw.h
index c0dd0b6a32..0dadcfa0cb 100644
--- a/src/gpu/GrRecordReplaceDraw.h
+++ b/src/gpu/GrRecordReplaceDraw.h
@@ -8,12 +8,11 @@
#ifndef GrRecordReplaceDraw_DEFINED
#define GrRecordReplaceDraw_DEFINED
-#include "SkDrawPictureCallback.h"
+#include "SkPicture.h"
class GrLayerCache;
class SkCanvas;
class SkMatrix;
-class SkPicture;
// Draw an SkPicture into an SkCanvas replacing saveLayer/restore blocks with
// drawBitmap calls. A convenience wrapper around SkRecords::Draw.
@@ -22,6 +21,6 @@ int GrRecordReplaceDraw(const SkPicture*,
SkCanvas*,
GrLayerCache* layerCache,
const SkMatrix& initialMatrix,
- SkDrawPictureCallback*);
+ SkPicture::AbortCallback*);
#endif // GrRecordReplaceDraw_DEFINED