aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkStream.h')
-rw-r--r--include/core/SkStream.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index d8eeb6c6d4..089a4ca6f9 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -385,7 +385,6 @@ public:
void copyTo(void* dst) const;
void writeToStream(SkWStream* dst) const;
- sk_sp<SkData> snapshotAsData() const;
// Return the contents as SkData, and then reset the stream.
sk_sp<SkData> detachAsData();
@@ -400,9 +399,6 @@ private:
Block* fHead;
Block* fTail;
size_t fBytesWritten;
- mutable sk_sp<SkData> fCopy; // is invalidated if we write after it is created
-
- void invalidateCopy();
// For access to the Block type.
friend class SkBlockMemoryStream;