Iterate over the ReceiverIds for FlushForTesting in ReceiverSet
This CL changes how to iterate |receivers_| for FlushForTesting in ReceiverSet. It snapshots the ReceiverIds first, then iterates over them instead of directly accessing to |receivers_| because it could be mutated during individual flush operations. The original CL is [1] for BindingSet. [1]https://crrev.com/c/514465 Bug: 955171, 978694 Change-Id: Ie35573b6d59ba103818f6ce3e3ea7ad85de512ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1757649Reviewed-by:Ken Rockot <rockot@google.com> Commit-Queue: Julie Kim <jkim@igalia.com> Cr-Commit-Position: refs/heads/master@{#689364}
Showing
Please register or sign in to comment