Index: src/pdf/SkPDFFormXObject.h |
diff --git a/src/pdf/SkPDFFormXObject.h b/src/pdf/SkPDFFormXObject.h |
index f739a36d200d38184ae4dee4b9ab2386387e0656..a483a6046657387cc6f7096dc04c70405d5f9e5a 100644 |
--- a/src/pdf/SkPDFFormXObject.h |
+++ b/src/pdf/SkPDFFormXObject.h |
@@ -37,7 +37,7 @@ public: |
* Create a PDF form XObject from a raw content stream and associated |
* resources. |
*/ |
- explicit SkPDFFormXObject(SkStreamAsset* content, |
+ explicit SkPDFFormXObject(std::unique_ptr<SkStreamAsset> content, |
SkRect bbox, |
SkPDFDict* resourceDict); |
virtual ~SkPDFFormXObject(); |