MediaControls: Disconnect observers when controls are hidden
Disconnect ResizeObserver from media controls when the controls are hidden. Otherwise, the obervsers are have pending activities (are observed) which makes them roots for the object graph, ultimately keeping elements (including e.g. HTMLVideoElement) and nodes alive. Bug: 969049 Change-Id: I07a4470170f187631db307188f6cbe0052aa7d8c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1677053 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by:Tommy Steimel <steimel@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#672629}
Showing
Please register or sign in to comment