[Picture in Picture] Avoid "disable rendering" optimisation in PiP mode.
WebContents activates the "disable rendering" optimisation when the WebContents is hidden. This means that when a video is playing in Picture-in-Picture, then the WebContents is hidden, the video will stop playing in the Picture-in-Picture window. Similarly to content capturing (e.g. mirroring / tab capture), this optimisation should not be activated when in Picture-in-Picture mode. This will only affect one tab at a time, as users cannot enter Picture-in-Picture mode from multiple tabs. Bug: 848812 Change-Id: I98a0e769ad4c412ea50db4de2ab63e64f3b752f2 Reviewed-on: https://chromium-review.googlesource.com/1105339Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: apacible <apacible@chromium.org> Cr-Commit-Position: refs/heads/master@{#568496}
Showing
Please register or sign in to comment