From b4c899d48d4c5d8e867beb611551f7b55ec60abb Mon Sep 17 00:00:00 2001 From: mtklein Date: Fri, 29 Apr 2016 13:58:09 -0700 Subject: 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 --- include/core/SkWriteBuffer.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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); } -- cgit v1.2.3