Index: include/core/SkPicture.h |
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h |
index ebaeef0b7ead535a3b304fd9182a75f92bbde389..07eca144b883201fb0bd1d59b7030ee7a2273e80 100644 |
--- a/include/core/SkPicture.h |
+++ b/include/core/SkPicture.h |
@@ -268,9 +268,9 @@ private: |
const uint32_t fUniqueID; |
const SkRect fCullRect; |
mutable SkAutoTUnref<const AccelData> fAccelData; |
- SkAutoTDelete<const SkRecord> fRecord; |
- SkAutoTUnref<const SkBBoxHierarchy> fBBH; |
- SkAutoTDelete<const SnapshotArray> fDrawablePicts; |
+ SkAutoTUnref<const SkRecord> fRecord; |
+ SkAutoTUnref<const SkBBoxHierarchy> fBBH; |
+ SkAutoTDelete<const SnapshotArray> fDrawablePicts; |
// helpers for fDrawablePicts |
int drawableCount() const; |
@@ -298,6 +298,7 @@ private: |
friend class GrLayerHoister; // access to fRecord |
friend class ReplaceDraw; |
friend class SkPictureUtils; |
+ friend class SkRecordedDrawable; |
}; |
SK_COMPILE_ASSERT(sizeof(SkPicture) <= 96, SkPictureSize); |