Changeset 182052 in webkit
- Timestamp:
- Mar 26, 2015, 11:36:48 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r182051 r182052 1 2015-03-26 Jeremy Jones <jeremyj@apple.com> 2 3 Optimized Fullscreen fails to cleanup because of no longer necessary release of m_playerController in exitFullscreen() 4 https://bugs.webkit.org/show_bug.cgi?id=143120 5 6 Reviewed by Eric Carlson. 7 8 We used to release m_playerController in WebVideoFullscreenInterfaceAVKit::exitFullscreen() in order to make sure 9 media state was reset. This is no longer necessary as we now have a way the model can explicitly request resetting the 10 media state via resetMediaState(). m_playerController is already released in 11 WebVideoFullscreenInterfaceAVKit::cleanupFullscreenInternal(). Releasing it prematurely can actually prevent the exit 12 fullscreen process from completing successfully. 13 14 * platform/ios/WebVideoFullscreenInterfaceAVKit.mm: 15 (WebVideoFullscreenInterfaceAVKit::exitFullscreen): 16 1 17 2015-03-26 Zalan Bujtas <zalan@apple.com> 2 18 -
trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm
r181713 r182052 1025 1025 } 1026 1026 1027 m_playerController = nil;1028 1029 1027 dispatch_async(dispatch_get_main_queue(), [strongThis, finalRect] { 1030 1028 strongThis->exitFullscreenInternal(finalRect);
Note:
See TracChangeset
for help on using the changeset viewer.