commit | b47cd4b3d6daad037651daa20fae6770285966d6 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Aug 09 12:20:04 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 09 12:20:04 2016 -0700 |
tree | d8d65e6eb94141545a87bdf0bbbab3a923fe10a7 | |
parent | c0fc9d63569fe9bf6cd10fb028d0a0606278c2da [diff] |
Use SkNVRefCnt for a couple common types. These types are ref-counted, but don't otherwise need a vtable. This makes them good candidates for SkNVRefCnt. Destruction can be a little more direct, and if nothing else, sizeof(T) will get a little smaller by dropping the vptr. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2232433002 Review-Url: https://codereview.chromium.org/2232433002