Title: [210098] trunk/Source
Revision
210098
Author
[email protected]
Date
2016-12-22 08:58:25 -0800 (Thu, 22 Dec 2016)

Log Message

AVPlayerLayer isn't available on every system
https://bugs.webkit.org/show_bug.cgi?id=166399

Reviewed by Jer Noble.

Source/WebCore:

No new tests, prevents a crash that can't be reproduced on a test system.

* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: Use SOFT_LINK_CLASS_OPTIONAL.

Source/WebKit2:

* WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: Use SOFT_LINK_CLASS_OPTIONAL.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210097 => 210098)


--- trunk/Source/WebCore/ChangeLog	2016-12-22 16:41:10 UTC (rev 210097)
+++ trunk/Source/WebCore/ChangeLog	2016-12-22 16:58:25 UTC (rev 210098)
@@ -1,3 +1,14 @@
+2016-12-22  Eric Carlson  <[email protected]>
+
+        AVPlayerLayer isn't available on every system
+        https://bugs.webkit.org/show_bug.cgi?id=166399
+
+        Reviewed by Jer Noble.
+
+        No new tests, prevents a crash that can't be reproduced on a test system.
+
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: Use SOFT_LINK_CLASS_OPTIONAL.
+
 2016-12-21  Tim Horton  <[email protected]>
 
         TileGrid revalidates tiles twice during flush, first with wrong visible rect

Modified: trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm (210097 => 210098)


--- trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2016-12-22 16:41:10 UTC (rev 210097)
+++ trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2016-12-22 16:58:25 UTC (rev 210098)
@@ -62,7 +62,7 @@
 
 SOFT_LINK_FRAMEWORK_OPTIONAL(AVFoundation)
 
-SOFT_LINK_CLASS(AVFoundation, AVPlayerLayer)
+SOFT_LINK_CLASS_OPTIONAL(AVFoundation, AVPlayerLayer)
 
 using namespace WebCore;
 

Modified: trunk/Source/WebKit2/ChangeLog (210097 => 210098)


--- trunk/Source/WebKit2/ChangeLog	2016-12-22 16:41:10 UTC (rev 210097)
+++ trunk/Source/WebKit2/ChangeLog	2016-12-22 16:58:25 UTC (rev 210098)
@@ -1,3 +1,12 @@
+2016-12-22  Eric Carlson  <[email protected]>
+
+        AVPlayerLayer isn't available on every system
+        https://bugs.webkit.org/show_bug.cgi?id=166399
+
+        Reviewed by Jer Noble.
+
+        * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm: Use SOFT_LINK_CLASS_OPTIONAL.
+
 2016-12-22  Nael Ouedraogo  <[email protected]>
 
         MediaStream: ASSERTION FAILED: m_ids.size() == m_handles.size() in MediaDeviceSandboxExtensions

Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm (210097 => 210098)


--- trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm	2016-12-22 16:41:10 UTC (rev 210097)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm	2016-12-22 16:58:25 UTC (rev 210098)
@@ -38,7 +38,7 @@
 #import <wtf/RetainPtr.h>
 
 SOFT_LINK_FRAMEWORK_OPTIONAL(AVFoundation)
-SOFT_LINK_CLASS(AVFoundation, AVPlayerLayer)
+SOFT_LINK_CLASS_OPTIONAL(AVFoundation, AVPlayerLayer)
 
 using namespace WebCore;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to