commit | a6ca0b13545380ea62e24d148080907575eb33fd | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Wed Mar 31 09:04:26 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Mar 31 13:55:45 2021 +0000 |
tree | dbb2537f51d096b504b5a196ffdffca003924641 | |
parent | 75dd17f714af32e84694f5eba9925fa4aa4dd9a6 [diff] |
SkAuto[S]TMalloc only for trivially constructible/destructible. Prevents introduction of a bug when modifying a type that is used with one of these containers in such way that makes the use unsafe. Change-Id: I959e6f3bfbc9664a6b0ced636f5ae6cbe72eee1a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/390676 Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>