commit | bffb70b3f0625fa077402edf9ff46ddc751e6401 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Dec 15 18:06:03 2016 -0500 |
committer | Ben Wagner <bungeman@google.com> | Thu Dec 15 18:06:03 2016 -0500 |
tree | 163b8e77700ef81f72e49d1b8dc8574ab452c64b | |
parent | 0306c40dfc190f5965fe1d9f5a458811db6eaf31 [diff] |
Use bytesWritten instead of getOffset on SkDynamicMemoryWStream. These two methods do the same thing and bytesWritten makes more sense and is also a proper SkWStream override. As a result, getOffset is being removed. This updates the calling code. Test: refactoring CL. Existing unit tests still pass. Change-Id: I2e2b60c1c86d07c5ab7ec6518d689e8bf700e5d2