DescriptionTab (and AuraWindow) Capture: Capture refresh frame after Resume()
Adds a refresh frame capture upon Resume(). This solves a problem where
the tab capture device can be suspended for a significant length of time
and then resumed; but if the content of the tab isn't changing when the
resume takes place, no compositor events will be firing to cause any new
frames to be captured. Thus, the content in the video stream could be
very stale. Issuing a refresh frame capture guarantees the video stream
will be up-to-date immediately after a resume.
BUG=643964
Committed: https://crrev.com/0a1661e31160d9dd7c020383702fad19e0d12e54
Cr-Commit-Position: refs/heads/master@{#440792}
Patch Set 1 #Patch Set 2 : Account for behavior change in unit tests. #
Messages
Total messages: 16 (8 generated)
|