[Media Session] Destroy MediaSessionControllersManager on
WebContentsDestroyed Destroys MediaSessionControllersManager when the web contents is destroyed to avoid a crash. At the moment when WebContentsImpl is destroyed it ends up calling GetMediaSessionInfoSync which calls the destroyed WebContentsImpl. This destroys the media session controllers before they can do that. BUG=1136465,1157779 Change-Id: I7a3d678c4011a818c0ca5ac8d53b8a3420e662fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626920 Commit-Queue: Becca Hughes <beccahughes@chromium.org> Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Cr-Commit-Position: refs/heads/master@{#843585}
Showing
Please register or sign in to comment