Changeset 180186 in webkit
- Timestamp:
- Feb 16, 2015, 4:17:29 PM (10 years ago)
- Location:
- branches/safari-600.1.4.15-branch/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.1.4.15-branch/Source/WebKit2/ChangeLog
r180045 r180186 1 2015-02-16 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r177625. 4 5 2014-12-21 Eric Carlson <eric.carlson@apple.com> 6 7 [iOS] avoid WebVideoFullscreenManager crash 8 https://bugs.webkit.org/show_bug.cgi?id=139852 9 <rdar://problem/19319302> 10 11 Reviewed by Darin Adler. 12 13 * WebProcess/ios/WebVideoFullscreenManager.mm: 14 (WebKit::WebVideoFullscreenManager::didExitFullscreen): NULL-check m_layerHostingContext and m_page. 15 (WebKit::WebVideoFullscreenManager::setVideoLayerFrameFenced): NULL-check m_layerHostingContext. 16 1 17 2015-02-13 Matthew Hanson <matthew_hanson@apple.com> 2 18 -
branches/safari-600.1.4.15-branch/Source/WebKit2/WebProcess/ios/WebVideoFullscreenManager.mm
r178994 r180186 216 216 217 217 dispatch_async(dispatch_get_main_queue(), ^{ 218 m_layerHostingContext->setRootLayer(nullptr); 219 m_layerHostingContext = nullptr; 220 m_page->send(Messages::WebVideoFullscreenManagerProxy::CleanupFullscreen(), m_page->pageID()); 218 if (m_layerHostingContext) { 219 m_layerHostingContext->setRootLayer(nullptr); 220 m_layerHostingContext = nullptr; 221 } 222 if (m_page) 223 m_page->send(Messages::WebVideoFullscreenManagerProxy::CleanupFullscreen(), m_page->pageID()); 221 224 protect.clear(); 222 225 }); … … 248 251 void WebVideoFullscreenManager::setVideoLayerFrameFenced(WebCore::FloatRect bounds, IPC::Attachment fencePort) 249 252 { 250 m_layerHostingContext->setFencePort(fencePort.port()); 253 if (m_layerHostingContext) 254 m_layerHostingContext->setFencePort(fencePort.port()); 251 255 setVideoLayerFrame(bounds); 252 256 mach_port_deallocate(mach_task_self(), fencePort.port());
Note:
See TracChangeset
for help on using the changeset viewer.