Index: src/pdf/SkPDFCanon.h |
diff --git a/src/pdf/SkPDFCanon.h b/src/pdf/SkPDFCanon.h |
index 9ecb3a02d999c16dc853a4c3e7163a9d07e10108..4c92fcbf6fb3846feae0b5ac37027eec3e2a40be 100644 |
--- a/src/pdf/SkPDFCanon.h |
+++ b/src/pdf/SkPDFCanon.h |
@@ -81,7 +81,8 @@ public: |
SkTHashMap<uint32_t, bool> fCanEmbedTypeface; |
- SkAutoTUnref<SkPixelSerializer> fPixelSerializer; |
+ SkPixelSerializer* getPixelSerializer() const { return fPixelSerializer.get(); } |
+ void setPixelSerializer(SkPixelSerializer* ps) { fPixelSerializer.reset(ps); } |
private: |
struct FontRec { |
@@ -116,5 +117,7 @@ private: |
SkTHashMap<SkBitmapKey, const SkImage*> fBitmapToImageMap; |
SkTHashMap<uint32_t /*ImageUniqueID*/, SkPDFObject*> fPDFBitmapMap; |
+ |
+ SkAutoTUnref<SkPixelSerializer> fPixelSerializer; |
}; |
#endif // SkPDFCanon_DEFINED |