-
Jennifer Apacible authored
Currently, the PictureInPictureWindowController is reset and torn down whenever a new video goes into Picture-in-Picture mode. This is less than ideal since the PictureInPictureWindowController is attached and scoped to the lifetime of a WebContents via WebContentsUserData. Rather, we should allow the natural teardown of the controller when the initiator tabs is destroyed. BUG: 823172 Change-Id: I7e13b8bf45899fd4ff4b3dbd34781d04ab15dc1d Reviewed-on: https://chromium-review.googlesource.com/1034194 Commit-Queue: apacible <apacible@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#555415}
87ee0123