Ensure seek completes before ending test
The fix in 0b6135a7 introduced a new flake. It's possible for the video.rAF callback to be fired by the second video's first frame size, before the seek even completes. This CL fixes the issue by queueing the video.rAF call for the second frame size after the first frame size has painted. Bug: 993671 Change-Id: Iecf1601cdc5b76361ddfb9a62a718092ace90468 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033628 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#741698}
Showing
Please register or sign in to comment