Index: src/pdf/SkPDFFormXObject.cpp |
diff --git a/src/pdf/SkPDFFormXObject.cpp b/src/pdf/SkPDFFormXObject.cpp |
index 1635b0ff9649d102ec7e21e7638f9ddaf582003b..2a0f5306efb7bd4e945926a7ef3d46a60143d964 100644 |
--- a/src/pdf/SkPDFFormXObject.cpp |
+++ b/src/pdf/SkPDFFormXObject.cpp |
@@ -25,7 +25,7 @@ SkPDFFormXObject::SkPDFFormXObject(SkPDFDevice* device) { |
SkPDFResourceDict* resourceDict = device->getResourceDict(); |
resourceDict->getReferencedResources(emptySet, &fResources, false); |
- SkAutoTUnref<SkStream> content(device->content()); |
+ SkAutoTDelete<SkStream> content(device->content()); |
setData(content.get()); |
SkAutoTUnref<SkPDFArray> bboxArray(device->copyMediaBox()); |