commit | 022c5de65c1e87ac6858afffb7b201662ad255d2 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Apr 12 13:53:27 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Apr 12 18:56:41 2023 +0000 |
tree | c90547150ee88234e42af62c5698c41e6d0cee80 | |
parent | e5a7fe4d32bdf8521728090af71f60d139e53827 [diff] |
Add 'isEmpty' helper function to SkArenaAllocWithReset. This will allow us to write tests which assert that an arena has never been written into. Change-Id: Ib07a84fc073e3cb144e818662755482eb59dc325 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/670177 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Herb Derby <herb@google.com> Auto-Submit: John Stiles <johnstiles@google.com>