Index: src/pdf/SkPDFStream.cpp |
diff --git a/src/pdf/SkPDFStream.cpp b/src/pdf/SkPDFStream.cpp |
index 8b8f323db6c311a7708504cf68f610cc3f95ccba..193723ddc2c770b49170442e05ade0a13ca8812d 100644 |
--- a/src/pdf/SkPDFStream.cpp |
+++ b/src/pdf/SkPDFStream.cpp |
@@ -15,6 +15,11 @@ |
SkPDFStream::~SkPDFStream() {} |
+void SkPDFStream::drop() { |
+ fCompressedData.reset(nullptr); |
+ this->SkPDFDict::drop(); |
+} |
+ |
void SkPDFStream::emitObject(SkWStream* stream, |
const SkPDFObjNumMap& objNumMap, |
const SkPDFSubstituteMap& substitutes) const { |