diff options
author | 2017-05-23 11:47:05 -0400 | |
---|---|---|
committer | 2017-05-24 19:49:35 +0000 | |
commit | 6fee59b514c5f7b7ff34d63b294759dd0c1d4858 (patch) | |
tree | 6bcfede9aabf632d1f3f7fc0cb1f414240645c96 /src/codec/SkIcoCodec.cpp | |
parent | 14a6430b7bcf92bcabf4aef18805969d1335aab1 (diff) |
SkStream: DynamicMemoryWStream gets writeToAndReset
This is similar to copyToAndReset().
Also use this in SkPDF, for minor memory savings:
Single-threaded DM's peak RSS drops from 239MB
to 228MB.
Change-Id: I352a980e6dd54eb05d74cd057bd50e02312753b0
Reviewed-on: https://skia-review.googlesource.com/17714
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/codec/SkIcoCodec.cpp')
0 files changed, 0 insertions, 0 deletions