aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrShapeTest.cpp
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-06-23 12:55:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-23 12:55:14 -0700
commitd0e402f99949127624b5c5e6d673a44a71940489 (patch)
tree519b913cf098fd234e1fd581f77abc3f3a793b7a /tests/GrShapeTest.cpp
parent4d602144a9e7638dee25e91d64bca11d793bb5bf (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 'tests/GrShapeTest.cpp')
0 files changed, 0 insertions, 0 deletions