Index: src/pdf/SkPDFFormXObject.cpp |
diff --git a/src/pdf/SkPDFFormXObject.cpp b/src/pdf/SkPDFFormXObject.cpp |
index 48d182eb405f0de4c1bed6e5060069e67c7684e0..19570f3d6da8ea3ee57f7ed6cfa5a2d37604431f 100644 |
--- a/src/pdf/SkPDFFormXObject.cpp |
+++ b/src/pdf/SkPDFFormXObject.cpp |
@@ -23,8 +23,8 @@ SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { |
// resources). |
SkPDFResourceDict* resourceDict = device->getResourceDict(); |
- SkAutoTDelete<SkStream> content(device->content()); |
- setData(content.get()); |
+ SkAutoTDelete<SkStreamAsset> content(device->content()); |
+ this->setData(content.get()); |
SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); |
init(NULL, resourceDict, bboxArray); |