Test cancellation of pending rVFC
When VideoFrameCallbackRequesterImpl schedules its callbacks to be run in the next rendering steps, and the HTMLMediaElement changes its WebMediaPlayer, we have to make sure to cancel the scheduled callback execution. This CL adds a test to make sure we do, as a follow up to the CL in the linked bug. Bug: 1158160 Change-Id: I723361671d923a44d84457812fad8da2cefffac0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595984 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#838266}
Showing
Please register or sign in to comment