Index: src/core/SkPictureData.h |
diff --git a/src/core/SkPictureData.h b/src/core/SkPictureData.h |
index 4e4deef55a323e7ebc10d9b7353e2a0531e458d4..3acaf579bc8e5200fda3a99ece271783faea2b8d 100644 |
--- a/src/core/SkPictureData.h |
+++ b/src/core/SkPictureData.h |
@@ -77,7 +77,7 @@ public: |
int opCount() const { return fContentInfo.numOperations(); } |
- const SkData* opData() const { return fOpData; } |
+ const sk_sp<SkData>& opData() const { return fOpData; } |
protected: |
explicit SkPictureData(const SkPictInfo& info); |
@@ -158,7 +158,7 @@ private: |
SkTArray<SkPaint> fPaints; |
SkTArray<SkPath> fPaths; |
- SkData* fOpData; // opcodes and parameters |
+ sk_sp<SkData> fOpData; // opcodes and parameters |
const SkPicture** fPictureRefs; |
int fPictureCount; |