remove SkWriteBuffer::getWriter32().
authormtklein <mtklein@chromium.org>
Fri, 29 Apr 2016 20:58:09 +0000 (13:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 Apr 2016 20:58:09 +0000 (13:58 -0700)
commitb4c899d48d4c5d8e867beb611551f7b55ec60abb
treec22a1203e79d6d1eef676c1980636fa52f187eca
parent900bd4a0463bc6471ef07a77120b413bd8f472b2
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
src/core/SkWriteBuffer.cpp
tests/PaintTest.cpp