Index: src/core/SkPictureData.h |
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h |
index 1a490ce6e426cc0f456cbdc2be58ab142bf97bbc..a68a8c8317aebf2265b064da3ac3b0da99a3eeee 100644 |
--- a/src/core/SkPictureData.h |
+++ b/src/core/SkPictureData.h |
@@ -62,12 +62,13 @@ public: |
// Does not affect ownership of SkStream. |
static SkPictureData* CreateFromStream(SkStream*, |
const SkPictInfo&, |
- SkPicture::InstallPixelRefProc); |
+ SkPicture::InstallPixelRefProc, |
+ SkTypefacePlayback*); |
static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&); |
virtual ~SkPictureData(); |
- void serialize(SkWStream*, SkPixelSerializer*) const; |
+ void serialize(SkWStream*, SkPixelSerializer*, SkRefCntSet*) const; |
void flatten(SkWriteBuffer&) const; |
bool containsBitmaps() const; |
@@ -82,7 +83,7 @@ protected: |
explicit SkPictureData(const SkPictInfo& info); |
// Does not affect ownership of SkStream. |
- bool parseStream(SkStream*, SkPicture::InstallPixelRefProc); |
+ bool parseStream(SkStream*, SkPicture::InstallPixelRefProc, SkTypefacePlayback*); |
bool parseBuffer(SkReadBuffer& buffer); |
public: |
@@ -95,7 +96,7 @@ public: |
const int index = reader->readInt(); |
return fImageRefs[index]; |
} |
- |
+ |
const SkPath& getPath(SkReader32* reader) const { |
int index = reader->readInt() - 1; |
return fPaths[index]; |
@@ -144,7 +145,8 @@ private: |
// these help us with reading/writing |
// Does not affect ownership of SkStream. |
- bool parseStreamTag(SkStream*, uint32_t tag, uint32_t size, SkPicture::InstallPixelRefProc); |
+ bool parseStreamTag(SkStream*, uint32_t tag, uint32_t size, |
+ SkPicture::InstallPixelRefProc, SkTypefacePlayback*); |
bool parseBufferTag(SkReadBuffer&, uint32_t tag, uint32_t size); |
void flattenToBuffer(SkWriteBuffer&) const; |