Index: src/pdf/SkPDFUtils.h |
diff --git a/src/pdf/SkPDFUtils.h b/src/pdf/SkPDFUtils.h |
index 814d77193cb38d5bd803f847cf36a5e6ab2d1603..0dec80077c8c00c30c242930b771c3444f22260b 100644 |
--- a/src/pdf/SkPDFUtils.h |
+++ b/src/pdf/SkPDFUtils.h |
@@ -35,8 +35,8 @@ class SkWStream; |
class SkPDFUtils { |
public: |
- static SkPDFArray* RectToArray(const SkRect& rect); |
- static SkPDFArray* MatrixToArray(const SkMatrix& matrix); |
+ static sk_sp<SkPDFArray> RectToArray(const SkRect& rect); |
+ static sk_sp<SkPDFArray> MatrixToArray(const SkMatrix& matrix); |
static void AppendTransform(const SkMatrix& matrix, SkWStream* content); |
static void MoveTo(SkScalar x, SkScalar y, SkWStream* content); |