Index: src/core/SkPictureRecord.h |
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
index bac5586eca98f6ecb8a873909e0a68fa1485f288..6a577ca42ef19b59a0d3aa74b7ff49a35d12132f 100644 |
--- a/src/core/SkPictureRecord.h |
+++ b/src/core/SkPictureRecord.h |
@@ -10,7 +10,6 @@ |
#include "SkCanvas.h" |
#include "SkFlattenable.h" |
-#include "SkPathHeap.h" |
#include "SkPicture.h" |
#include "SkPictureData.h" |
#include "SkTemplates.h" |
@@ -82,10 +81,6 @@ public: |
return fWriter.snapshotAsData(); |
} |
- const SkPathHeap* pathHeap() const { |
- return fPathHeap.get(); |
- } |
- |
const SkPictureContentInfo& contentInfo() const { |
return fContentInfo; |
} |
@@ -236,14 +231,12 @@ protected: |
void recordSaveLayer(const SkRect* bounds, const SkPaint* paint, SaveFlags flags); |
void recordRestore(bool fillInSkips = true); |
- // Allocated in the constructor and managed by this class. |
- SkBitmapHeap* fBitmapHeap; |
- |
private: |
SkPictureContentInfo fContentInfo; |
- SkAutoTUnref<SkPathHeap> fPathHeap; |
- SkTArray<SkPaint> fPaints; |
+ SkTArray<SkBitmap> fBitmaps; |
+ SkTArray<SkPaint> fPaints; |
+ SkTArray<SkPath> fPaths; |
SkWriter32 fWriter; |