[content]: Cancel in-flight EndIdlePeriod tasks in Blink Scheduler.
The scheduler will post a delayed EndIdlePeriod task to end the idle period at the expected time of the next frame draw. If the next WillBeginFrame is called before this task has been run, then it is possible for the task to end the next frames idle period. Prevent this by cancelling the in-flight tasks when EndIdlePeriod is called. BUG=447478 Review URL: https://codereview.chromium.org/847903004 Cr-Commit-Position: refs/heads/master@{#313038}
Showing
Please register or sign in to comment