Changeset 230644 in webkit
- Timestamp:
- Apr 13, 2018 3:42:24 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230643 r230644 1 2018-04-13 Ryosuke Niwa <rniwa@webkit.org> 2 3 WebKit crashes when libwebrtc.dylib is missing 4 https://bugs.webkit.org/show_bug.cgi?id=184607 5 6 Rubber-stamped by Jer Noble. 7 8 Don't call LibWebRTC related code when libwebrtc is not available. 9 10 * dom/Document.cpp: 11 (WebCore::Document::prepareForDestruction): 12 (WebCore::Document::suspend): 13 1 14 2018-04-13 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/dom/Document.cpp
r230581 r230644 2359 2359 2360 2360 #if USE(LIBWEBRTC) 2361 if (auto* page = this->page()) 2362 page->libWebRTCProvider().unregisterMDNSNames(identifier().toUInt64()); 2361 // FIXME: This should be moved to Modules/mediastream. 2362 if (LibWebRTCProvider::webRTCAvailable()) { 2363 if (auto* page = this->page()) 2364 page->libWebRTCProvider().unregisterMDNSNames(identifier().toUInt64()); 2365 } 2363 2366 #endif 2364 2367 … … 4892 4895 4893 4896 #if USE(LIBWEBRTC) 4894 if (auto* page = this->page()) 4895 page->libWebRTCProvider().unregisterMDNSNames(identifier().toUInt64()); 4897 // FIXME: This should be moved to Modules/mediastream. 4898 if (LibWebRTCProvider::webRTCAvailable()) { 4899 if (auto* page = this->page()) 4900 page->libWebRTCProvider().unregisterMDNSNames(identifier().toUInt64()); 4901 } 4896 4902 #endif 4897 4903
Note: See TracChangeset
for help on using the changeset viewer.