diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-29 17:22:54 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-29 17:22:54 +0000 |
commit | 66ec1e4c6179915a50bea74fad4b8cc14e63a4cf (patch) | |
tree | 3770f8a251761b66930bef8a80585305bdea287e /src/core/SkPicturePlayback.h | |
parent | 95ead5b0e800e64ba6b6cf6642d8e77bc711c803 (diff) |
Move setup of SkPictCopyInfo into SkPicture::clone
This refactoring seemed sufficiently fraught that I've broken it out of a larger patch to move fBitmapHeap out of SkPictureRecord/SkPicturePlayback and into SkPicture.
SkPicturePlayback's friending of SkPicture should be temporary and just allows SkPicture to access items that will be moving into it soon.
R=scroggo@google.com, reed@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/256653006
git-svn-id: http://skia.googlecode.com/svn/trunk@14440 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkPicturePlayback.h')
-rw-r--r-- | src/core/SkPicturePlayback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h index bc5b565f93..28fdd63277 100644 --- a/src/core/SkPicturePlayback.h +++ b/src/core/SkPicturePlayback.h @@ -226,6 +226,8 @@ private: // these help us with reading/writing void flattenToBuffer(SkWriteBuffer&) const; private: + friend class SkPicture; + // The picture that owns this SkPicturePlayback object const SkPicture* fPicture; |