-
Nico Weber authored
Introduce a move-only ScopedWlArray to make sure all wl_arrays in the tests get wl_array_release()d when they are no longer needed. Also rename SetWlArrayWithState() to AddStateToWlArray() since it appends to its argument and doesn't replace the contents (this part has no behavior change). TBR=kbr Bug: 855588 Change-Id: I384ca182b44c9cb864d2d3e94c8ed4f0a0a16f77 Reviewed-on: https://chromium-review.googlesource.com/1113658 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Cr-Commit-Position: refs/heads/master@{#570160}
5509d727