Title: [178961] trunk/WebKitLibraries
- Revision
- 178961
- Author
- ddkil...@apple.com
- Date
- 2015-01-22 15:34:34 -0800 (Thu, 22 Jan 2015)
Log Message
[iOS] Fix build for external iphoneos SDK
Reviewed by Daniel Bates.
* WebKitSystemInterface.h: Remove import of the
<IOSurface/IOSurface.h> header, and add a typedef for
IOSurfaceRef in its place.
Modified Paths
Diff
Modified: trunk/WebKitLibraries/ChangeLog (178960 => 178961)
--- trunk/WebKitLibraries/ChangeLog 2015-01-22 23:32:38 UTC (rev 178960)
+++ trunk/WebKitLibraries/ChangeLog 2015-01-22 23:34:34 UTC (rev 178961)
@@ -1,3 +1,13 @@
+2015-01-22 David Kilzer <ddkil...@apple.com>
+
+ [iOS] Fix build for external iphoneos SDK
+
+ Reviewed by Daniel Bates.
+
+ * WebKitSystemInterface.h: Remove import of the
+ <IOSurface/IOSurface.h> header, and add a typedef for
+ IOSurfaceRef in its place.
+
2015-01-22 Brent Fulgham <bfulg...@apple.com>
[Win] Unreviewed gardening.
Modified: trunk/WebKitLibraries/WebKitSystemInterface.h (178960 => 178961)
--- trunk/WebKitLibraries/WebKitSystemInterface.h 2015-01-22 23:32:38 UTC (rev 178960)
+++ trunk/WebKitLibraries/WebKitSystemInterface.h 2015-01-22 23:34:34 UTC (rev 178961)
@@ -14,9 +14,6 @@
#else
#import <CoreImage/CoreImage.h>
#import <CoreText/CoreText.h>
-#if !TARGET_IPHONE_SIMULATOR
-#import <IOSurface/IOSurface.h>
-#endif
#import <WebKitSystemInterfaceIOS.h>
#endif
@@ -172,6 +169,8 @@
CGSize WKCTRunGetInitialAdvance(CTRunRef);
#if (TARGET_OS_IPHONE && TARGET_OS_EMBEDDED) || MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
+typedef struct __IOSurface *IOSurfaceRef;
+
CGContextRef WKIOSurfaceContextCreate(IOSurfaceRef, unsigned width, unsigned height, CGColorSpaceRef);
CGImageRef WKIOSurfaceContextCreateImage(CGContextRef context);
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes