diff options
author | csmartdalton <csmartdalton@google.com> | 2016-06-23 12:55:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-23 12:55:14 -0700 |
commit | d0e402f99949127624b5c5e6d673a44a71940489 (patch) | |
tree | 519b913cf098fd234e1fd581f77abc3f3a793b7a /tools/DumpRecord.cpp | |
parent | 4d602144a9e7638dee25e91d64bca11d793bb5bf (diff) |
Make container classes in SkTemplates.h more consistent
Ensures that ".get()" always returns null when a container is empty.
Also ensures consistent assert behavior for array counts.
There are still differences in that the malloc variants take a size_t
and the arrays take an int, and that SkAutoSTMalloc defaults to the
stack-allocated buffer wheras the other containers default to null.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2084213003
Review-Url: https://codereview.chromium.org/2084213003
Diffstat (limited to 'tools/DumpRecord.cpp')
0 files changed, 0 insertions, 0 deletions