Chromium Code Reviews
Descriptionaw: Fix lost invalidate while playing video
BrowserViewRenderer::block_invalidates_ needs to be unset immediately
after draw. Posting the unset to UI thread could imply that it comes
after the fallback tick, which can cause an invalidate to be dropped.
This is especially bad for VideoLayer since the fallback tick does not
advance video frames, which means the video could be stuck forever.
Fix by unsetting block_invalidates_ and cancelling fallback tick
immediately, but only post back to get the invalidate.
Internal bug b/14643271
BUG=374905
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270101
Patch Set 1 #Patch Set 2 : rebase #
Total comments: 2
Patch Set 3 : thread #
Messages
Total messages: 15 (0 generated)
|
|||||||||||||||||||||||||||||||||||||