Convert TArray::reserve_back to reserve_exact in SkSL.
In practice, every call site was operating on an empty array, so
this was a straightforward fix. (In one case, it was not necessarily
clear that the array would be empty--even though it would in fact be
empty in practice--so I added array.size() anyway, just in case.)
Bug: skia:14316
Change-Id: I126e475fd5417f72c8f7495de37860c2273476f2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/709157
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
13 files changed