Fix ResourceAllocatorTests use of static.
This test was creating a static const array of test cases, However, the
data for the test cases was not always cost and set at runtime. Thus when
running the test of multiple backeds that set these values differently,
it would cause failures since the test cases were using the old previous
values still.
Change-Id: I8f706bd599d3eadd47a80f948caecec314b7ffba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/601936
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
1 file changed