Index: src/gpu/GrRecordReplaceDraw.h |
diff --git a/src/gpu/GrRecordReplaceDraw.h b/src/gpu/GrRecordReplaceDraw.h |
index c0dd0b6a329deb47080633e798b19b779527b3b9..0dadcfa0cb1daeb3a850cd31568f38f6703e08e9 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 |