diff options
Diffstat (limited to 'include/pdf')
-rw-r--r-- | include/pdf/SkPDFStream.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/pdf/SkPDFStream.h b/include/pdf/SkPDFStream.h index 24a96422be..10a40b6f98 100644 --- a/include/pdf/SkPDFStream.h +++ b/include/pdf/SkPDFStream.h @@ -19,9 +19,9 @@ #include "SkPDFTypes.h" #include "SkRefCnt.h" +#include "SkStream.h" #include "SkTemplates.h" -class SkStream; class SkPDFCatalog; /** \class SkPDFStream @@ -57,7 +57,10 @@ public: private: SkPDFDict fDict; - SkRefPtr<SkStream> fData; + size_t fLength; + // Only one of the two streams will be valid. + SkRefPtr<SkStream> fPlainData; + SkDynamicMemoryWStream fCompressedData; }; #endif |