aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TemplatesTest.cpp
Commit message (Collapse)AuthorAge
* Make container classes in SkTemplates.h more consistentGravatar csmartdalton2016-06-23
| | | | | | | | | | | | | | 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
* add realloc method to SkAutoSTMallocGravatar joshualitt2015-04-08
BUG=skia: Review URL: https://codereview.chromium.org/1069013002