Index: src/pdf/SkPDFStream.h |
diff --git a/src/pdf/SkPDFStream.h b/src/pdf/SkPDFStream.h |
index cf8cda543be9d09e247f64e8b57478f71365eda7..9e4b71dcbf7d1eb9653e2b791f19a7e24187379e 100644 |
--- a/src/pdf/SkPDFStream.h |
+++ b/src/pdf/SkPDFStream.h |
@@ -34,7 +34,7 @@ public: |
* stream dictionary. |
* @param stream The data part of the stream. Will not take ownership. |
*/ |
- explicit SkPDFStream(SkStream* stream) { this->setData(stream); } |
+ explicit SkPDFStream(SkStreamAsset* stream) { this->setData(stream); } |
virtual ~SkPDFStream(); |
@@ -51,14 +51,14 @@ protected: |
SkPDFStream() {} |
/** Only call this function once. */ |
- void setData(SkStream* stream); |
+ void setData(SkStreamAsset* stream); |
void setData(SkData* data) { |
SkMemoryStream memoryStream(data); |
this->setData(&memoryStream); |
} |
private: |
- std::unique_ptr<SkStreamRewindable> fCompressedData; |
+ std::unique_ptr<SkStreamAsset> fCompressedData; |
typedef SkPDFDict INHERITED; |
}; |