Title: [223289] trunk/Source/WebCore
Revision
223289
Author
[email protected]
Date
2017-10-13 11:16:20 -0700 (Fri, 13 Oct 2017)

Log Message

Unreviewed build fix; forward declare the type of IOSurfaceRef.

* platform/cocoa/CoreVideoSoftLink.cpp:
* platform/cocoa/CoreVideoSoftLink.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (223288 => 223289)


--- trunk/Source/WebCore/ChangeLog	2017-10-13 18:03:48 UTC (rev 223288)
+++ trunk/Source/WebCore/ChangeLog	2017-10-13 18:16:20 UTC (rev 223289)
@@ -1,5 +1,12 @@
 2017-10-13  Jer Noble  <[email protected]>
 
+        Unreviewed build fix; forward declare the type of IOSurfaceRef.
+
+        * platform/cocoa/CoreVideoSoftLink.cpp:
+        * platform/cocoa/CoreVideoSoftLink.h:
+
+2017-10-13  Jer Noble  <[email protected]>
+
         Unreviewed build fix; add soft link macros for newly called CoreVideo methods.
 
         * platform/cocoa/CoreVideoSoftLink.cpp:

Modified: trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.cpp (223288 => 223289)


--- trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.cpp	2017-10-13 18:03:48 UTC (rev 223288)
+++ trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.cpp	2017-10-13 18:16:20 UTC (rev 223289)
@@ -28,6 +28,8 @@
 #include <CoreVideo/CoreVideo.h>
 #include <wtf/SoftLinking.h>
 
+typedef struct __IOSurface* IOSurfaceRef;
+
 SOFT_LINK_FRAMEWORK_FOR_SOURCE(WebCore, CoreVideo)
 
 SOFT_LINK_FUNCTION_FOR_SOURCE(WebCore, CoreVideo, CVBufferGetAttachment, CFTypeRef, (CVBufferRef buffer, CFStringRef key, CVAttachmentMode* attachmentMode), (buffer, key, attachmentMode))

Modified: trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.h (223288 => 223289)


--- trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.h	2017-10-13 18:03:48 UTC (rev 223288)
+++ trunk/Source/WebCore/platform/cocoa/CoreVideoSoftLink.h	2017-10-13 18:16:20 UTC (rev 223289)
@@ -29,6 +29,8 @@
 #include <CoreVideo/CoreVideo.h>
 #include <wtf/SoftLinking.h>
 
+typedef struct __IOSurface* IOSurfaceRef;
+
 SOFT_LINK_FRAMEWORK_FOR_HEADER(WebCore, CoreVideo)
 
 SOFT_LINK_FUNCTION_FOR_HEADER(WebCore, CoreVideo, CVBufferGetAttachment, CFTypeRef, (CVBufferRef buffer, CFStringRef key, CVAttachmentMode* attachmentMode), (buffer, key, attachmentMode))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to