aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPicture.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-07-13 07:55:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-13 07:55:53 -0700
commitdd528967fc3eea54c8d10937b0100192d0722f4e (patch)
tree8c63bdff332ed5d9fcda4bf815489dcdd0781c24 /include/core/SkPicture.h
parentb184f7f52b2a94e95aee326a3ca37110d2e43336 (diff)
Remove SkPicture copy constructor
Given where we're heading with SkPicture why would you need to make a copy? R=reed@google.com, mtklein@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/381133002
Diffstat (limited to 'include/core/SkPicture.h')
-rw-r--r--include/core/SkPicture.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 03d983fe58..362f80642d 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -64,10 +64,6 @@ public:
};
SkPicture();
- /** Make a copy of the contents of src. If src records more drawing after
- this call, those elements will not appear in this picture.
- */
- SkPicture(const SkPicture& src);
/** PRIVATE / EXPERIMENTAL -- do not call */
void EXPERIMENTAL_addAccelData(const AccelData*) const;
@@ -178,7 +174,6 @@ public:
/**
* Returns true if any bitmaps may be produced when this SkPicture
* is replayed.
- * Returns false if called while still recording.
*/
bool willPlayBackBitmaps() const;
@@ -255,9 +250,6 @@ private:
SkPicture(int width, int height, const SkPictureRecord& record, bool deepCopyOps);
- static void WriteTagSize(SkWriteBuffer& buffer, uint32_t tag, size_t size);
- static void WriteTagSize(SkWStream* stream, uint32_t tag, size_t size);
-
// An OperationList encapsulates a set of operation offsets into the picture byte
// stream along with the CTMs needed for those operation.
class OperationList : ::SkNoncopyable {