Index: src/pdf/SkPDFDevice.h |
diff --git a/src/pdf/SkPDFDevice.h b/src/pdf/SkPDFDevice.h |
index d5d52f98e350a93d8f64e664f325f9aed5c917d0..5fedd0eb4ce231758af2edf8b0da4a95d3599c21 100644 |
--- a/src/pdf/SkPDFDevice.h |
+++ b/src/pdf/SkPDFDevice.h |
@@ -271,7 +271,7 @@ private: |
sk_sp<SkPDFObject> makeFormXObjectFromDevice(); |
void drawFormXObjectWithMask(int xObjectIndex, |
- SkPDFObject* mask, |
+ sk_sp<SkPDFObject> mask, |
const SkClipStack* clipStack, |
const SkRegion& clipRegion, |
SkXfermode::Mode mode, |
@@ -286,9 +286,9 @@ private: |
const SkMatrix& matrix, |
const SkPaint& paint, |
bool hasText, |
- SkPDFObject** dst); |
+ sk_sp<SkPDFObject>* dst); |
void finishContentEntry(SkXfermode::Mode xfermode, |
- SkPDFObject* dst, |
+ sk_sp<SkPDFObject> dst, |
SkPath* shape); |
bool isContentEmpty(); |