8354e9b8f6
I wrote code that called SkAutoTArray::data() and discovered that it was broken, but not generating compile errors because it's part of a template and never instantiated anywhere else. I fixed the implementation and added it to our container unit test to prevent later regression. This revealed another issue, that "containers in SkTemplates.h [should] all have a consistent api", according to test_container_apis. However, data() was never added to the non-array container APIs. So I added data() to the other containers as well. Change-Id: I52532c91fdab3fc8c4539053ba8420815b7b0ee5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323276 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
android | ||
c | ||
codec | ||
config | ||
core | ||
docs | ||
effects | ||
encode | ||
gpu | ||
pathops | ||
ports | ||
private | ||
svg | ||
third_party | ||
utils |