| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index dedda3e31ddf0e081083d49ad8f771dc6c1bc011..6482952a6ee51d0512916d3ed6ac58d3449ab997 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -276,7 +276,7 @@ private:
|
| const SkRect fCullRect;
|
| mutable SkAutoTUnref<const AccelData> fAccelData;
|
| mutable SkTDArray<DeletionListener*> fDeletionListeners; // pointers are refed
|
| - SkAutoTDelete<const SkRecord> fRecord;
|
| + SkAutoTUnref<const SkRecord> fRecord;
|
| SkAutoTUnref<const SkBBoxHierarchy> fBBH;
|
| SkAutoTDelete<const SnapshotArray> fDrawablePicts;
|
|
|
| @@ -306,6 +306,7 @@ private:
|
| friend class GrLayerHoister; // access to fRecord
|
| friend class ReplaceDraw;
|
| friend class SkPictureUtils;
|
| + friend class SkRecordedDrawable;
|
| };
|
| SK_COMPILE_ASSERT(sizeof(SkPicture) <= 96, SkPictureSize);
|
|
|
|
|