| Index: include/private/SkMiniRecorder.h
|
| diff --git a/include/private/SkMiniRecorder.h b/include/private/SkMiniRecorder.h
|
| index 5b68fc22f843e4947462a2a7fba32e390f5b5c02..2f5612ca39f7ba629192f97cd8eb307dae897ce7 100644
|
| --- a/include/private/SkMiniRecorder.h
|
| +++ b/include/private/SkMiniRecorder.h
|
| @@ -27,7 +27,7 @@ public:
|
| bool drawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint&);
|
|
|
| // Detach anything we've recorded as a picture, resetting this SkMiniRecorder.
|
| - SkPicture* detachAsPicture(const SkRect& cull);
|
| + sk_sp<SkPicture> detachAsPicture(const SkRect& cull);
|
|
|
| // Flush anything we've recorded to the canvas, resetting this SkMiniRecorder.
|
| // This is logically the same as but rather more efficient than:
|
|
|