diff options
author | Brian Salomon <bsalomon@google.com> | 2017-03-15 20:52:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-16 13:08:04 +0000 |
commit | 69225d02500c882053864410b1b775197455f2c5 (patch) | |
tree | 46ffa2c1056efee1968a01b492571a1856eff1d8 /resources/index8.png | |
parent | 0c984a0af30989fe20b1f8af18867983a88c48b6 (diff) |
Make SkTArray not allocate unless reserve or initial count > 0
This also makes it so that it doesn't shrink back into preallocated storage and therefore doesn't need to store the reserve count.
Change-Id: Ia320fed04c329641a5494947db39cefd2fb6d80f
Reviewed-on: https://skia-review.googlesource.com/9531
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'resources/index8.png')
0 files changed, 0 insertions, 0 deletions