commit | 565901db954c231840750ea955ed31b820b9ade8 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Thu Dec 10 10:44:13 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 10 10:44:13 2015 -0800 |
tree | 376c6355e252cd946babb6a267adba2e016efab4 | |
parent | 9907371f0a79776d90b68d534aeb44eb46acafe5 [diff] |
Switch SkAutoMalloc to SkAutoTMalloc to avoid cast Make SkAutoTMalloc's interface look more like SkAutoMalloc: - add free(), which does what you expect - make reset() return a pointer fPtr No public API changes (SkAutoTMalloc is in include/private) BUG=skia:2148 Review URL: https://codereview.chromium.org/1516833003