Index: src/core/SkCanvasDrawable.h |
diff --git a/src/core/SkCanvasDrawable.h b/src/core/SkCanvasDrawable.h |
index f189f2d2cc05a339d9ab8a30b4c978c3a42c95a1..bc5b4fd351e6513d08bf341c6e464e67d967991b 100644 |
--- a/src/core/SkCanvasDrawable.h |
+++ b/src/core/SkCanvasDrawable.h |
@@ -10,8 +10,8 @@ |
#include "SkRefCnt.h" |
-class SkBBHFactory; |
class SkCanvas; |
+class SkPicture; |
struct SkRect; |
/** |
@@ -32,10 +32,7 @@ public: |
*/ |
void draw(SkCanvas*); |
- SkPicture* newPictureSnapshot(SkBBHFactory* bbhFactory, uint32_t recordFlags); |
- SkPicture* newPictureSnapshot() { |
- return this->newPictureSnapshot(NULL, 0); |
- } |
+ SkPicture* newPictureSnapshot(); |
/** |
* Return a unique value for this instance. If two calls to this return the same value, |
@@ -63,7 +60,7 @@ public: |
protected: |
virtual SkRect onGetBounds() = 0; |
virtual void onDraw(SkCanvas*) = 0; |
- virtual SkPicture* onNewPictureSnapshot(SkBBHFactory*, uint32_t recordFlags); |
+ virtual SkPicture* onNewPictureSnapshot(); |
private: |
int32_t fGenerationID; |