aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-04-29 13:58:09 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-29 13:58:09 -0700
commitb4c899d48d4c5d8e867beb611551f7b55ec60abb (patch)
treec22a1203e79d6d1eef676c1980636fa52f187eca /include
parent900bd4a0463bc6471ef07a77120b413bd8f472b2 (diff)
remove SkWriteBuffer::getWriter32().
SkWriteBuffer exposes its lower-level implementation SkWriter32 through this one call. It's not currently used in any interesting way: - write_encoded_bitmap() uses it to manually re-create writeDataAsByteArray(); - unit tests use it incidentally as a quick way to read the serialized bytes. This should be SkWriteBuffer no longer necessarily needs to have an SkWriter32. Landing this will let us then remove SkWriter32::contiguousArray(). BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1936563002 TBR=reed@google.com Just deleting API Review-Url: https://codereview.chromium.org/1936563002
Diffstat (limited to 'include')
-rw-r--r--include/core/SkWriteBuffer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/core/SkWriteBuffer.h b/include/core/SkWriteBuffer.h
index 07d6fd1175..bd04dec0f9 100644
--- a/include/core/SkWriteBuffer.h
+++ b/include/core/SkWriteBuffer.h
@@ -38,7 +38,6 @@ public:
return SkToBool(fFlags & kCrossProcess_Flag);
}
- SkWriter32* getWriter32() { return &fWriter; }
void reset(void* storage = NULL, size_t storageSize = 0) {
fWriter.reset(storage, storageSize);
}