| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index 4db64bf93d80ff594effa0a0a156300a6bebf108..285a61613873817540252ebb4740d823216925db 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);
|
|
|
|
|