commit | d5dc657b8c3ac916f98005dafdedafe02f023449 | [log] [tgz] |
---|---|---|
author | herb <herb@google.com> | Wed Nov 09 13:01:46 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 09 13:01:46 2016 -0800 |
tree | 6ace2e801a064fb78e42d8bd7564385fc884e045 | |
parent | 28930b46487fc94fde206d1283623204c595b0f1 [diff] |
Make SkSmallAllocator obey the RAII invariants and move to heap structures when needed. The biggest change is to the API which allowed code to bypass the destruction invariants. This destruction bypass feature was needed in only one use, and is totally encapsulated using createWithIniterT. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2488523003 Review-Url: https://codereview.chromium.org/2488523003