commit | c18b5f8f57a4efc5d5d1e399ed8bd3bd02c592ab | [log] [tgz] |
---|---|---|
author | herb <herb@google.com> | Sun Nov 13 09:34:18 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sun Nov 13 09:34:18 2016 -0800 |
tree | b0704372b1dcd75846135f363564c129733a5c24 | |
parent | 14b748ddd2a8f0eba9a1b3061980d1174dfc279d [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 Committed: https://skia.googlesource.com/skia/+/d5dc657b8c3ac916f98005dafdedafe02f023449 Review-Url: https://codereview.chromium.org/2488523003