aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkStream.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-12-14 16:51:08 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-14 22:24:45 +0000
commit8dc1f62d23fdb78b563f41f18678a107d26f68d0 (patch)
treed4e2f5b74c38cf33366a0604aa7179a81c2f101f /include/core/SkStream.h
parent7dae46a6783de5f6bc461870306eb7d648386980 (diff)
Remove strange 'write' overload on SkDynamicMemoryWStream.
This should have been names 'overwrite' and appears to be unused. Change-Id: Ic9dd21e6789fb079fcbc209ed5d074a77f3587cc Reviewed-on: https://skia-review.googlesource.com/6092 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkStream.h')
-rw-r--r--include/core/SkStream.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 9fbd694cf0..d8eeb6c6d4 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -377,9 +377,7 @@ public:
bool write(const void* buffer, size_t size) override;
size_t bytesWritten() const override { return fBytesWritten; }
- // random access write
- // modifies stream and returns true if offset + size is less than or equal to getOffset()
- bool write(const void* buffer, size_t offset, size_t size);
+
bool read(void* buffer, size_t offset, size_t size);
size_t getOffset() const { return fBytesWritten; }