diff options
author | Hal Canary <halcanary@google.com> | 2017-05-23 11:47:05 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-24 19:49:35 +0000 |
commit | 6fee59b514c5f7b7ff34d63b294759dd0c1d4858 (patch) | |
tree | 6bcfede9aabf632d1f3f7fc0cb1f414240645c96 /tools/test_font_sans_serif.inc | |
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 'tools/test_font_sans_serif.inc')
0 files changed, 0 insertions, 0 deletions