Index: src/core/SkRecorder.h |
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h |
index b6f153dc54824f533f6a4b0de1ab61f4302b5268..d0a992fc082f85fcbeaef70553d808f9a1ff711e 100644 |
--- a/src/core/SkRecorder.h |
+++ b/src/core/SkRecorder.h |
@@ -8,9 +8,7 @@ |
#ifndef SkRecorder_DEFINED |
#define SkRecorder_DEFINED |
-#include "SkBigPicture.h" |
#include "SkCanvas.h" |
-#include "SkMiniRecorder.h" |
#include "SkRecord.h" |
#include "SkRecords.h" |
#include "SkTDArray.h" |
@@ -27,7 +25,7 @@ |
void append(SkDrawable* drawable); |
// Return a new or ref'd array of pictures that were snapped from our drawables. |
- SkBigPicture::SnapshotArray* newDrawableSnapshot(); |
+ SkPicture::SnapshotArray* newDrawableSnapshot(); |
private: |
SkTDArray<SkDrawable*> fArray; |
@@ -38,10 +36,10 @@ |
class SkRecorder : public SkCanvas { |
public: |
// Does not take ownership of the SkRecord. |
- SkRecorder(SkRecord*, int width, int height, SkMiniRecorder* = nullptr); // legacy version |
- SkRecorder(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr); |
+ SkRecorder(SkRecord*, int width, int height); // legacy version |
+ SkRecorder(SkRecord*, const SkRect& bounds); |
- void reset(SkRecord*, const SkRect& bounds, SkMiniRecorder* = nullptr); |
+ void reset(SkRecord*, const SkRect& bounds); |
size_t approxBytesUsedBySubPictures() const { return fApproxBytesUsedBySubPictures; } |
@@ -122,8 +120,6 @@ |
SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override { return NULL; } |
- void flushMiniRecorder(); |
- |
private: |
template <typename T> |
T* copy(const T*); |
@@ -140,8 +136,6 @@ |
size_t fApproxBytesUsedBySubPictures; |
SkRecord* fRecord; |
SkAutoTDelete<SkDrawableList> fDrawableList; |
- |
- SkMiniRecorder* fMiniRecorder; |
}; |
#endif//SkRecorder_DEFINED |