Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Optimized Fullscreen fails to cleanup because of no longer necessary …
…release of m_playerController in exitFullscreen() https://bugs.webkit.org/show_bug.cgi?id=143120 Patch by Jeremy Jones <jeremyj@apple.com> on 2015-03-26 Reviewed by Eric Carlson. We used to release m_playerController in WebVideoFullscreenInterfaceAVKit::exitFullscreen() in order to make sure media state was reset. This is no longer necessary as we now have a way the model can explicitly request resetting the media state via resetMediaState(). m_playerController is already released in WebVideoFullscreenInterfaceAVKit::cleanupFullscreenInternal(). Releasing it prematurely can actually prevent the exit fullscreen process from completing successfully. * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: (WebVideoFullscreenInterfaceAVKit::exitFullscreen): Canonical link: https://commits.webkit.org/161158@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information