Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: include/core/SkPicture.h

Issue 381133002: Remove SkPicture copy constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Removed unused "copy" method Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 03d983fe5843b68f75841ac59612e55fc060f67f..362f80642d12f4c6840fea03b8a9b1023bd8aef9 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 {
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698