Tried to fix the iOS Simulator build.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Mar 2015 23:25:47 +0000 (23:25 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Mar 2015 23:25:47 +0000 (23:25 +0000)
* platform/spi/cocoa/QuartzCoreSPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/spi/cocoa/QuartzCoreSPI.h

index c611ce2..2d7bc56 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-24  Dan Bernstein  <mitz@apple.com>
+
+        Tried to fix the iOS Simulator build.
+
+        * platform/spi/cocoa/QuartzCoreSPI.h:
+
 2015-03-24  Benjamin Poulain  <bpoulain@apple.com>
 
         Make URL filter patterns matching consistent and add a simple canonicalization step
index 903d27e..4bf49f2 100644 (file)
@@ -115,7 +115,11 @@ typedef struct CAColorMatrix CAColorMatrix;
 EXTERN_C void CARenderServerCaptureLayerWithTransform(mach_port_t serverPort, uint32_t clientId, uint64_t layerId,
                                                       uint32_t slotId, int32_t ox, int32_t oy, const CATransform3D *);
 
+#if PLATFORM(IOS_SIMULATOR)
+EXTERN_C void CARenderServerRenderLayerWithTransform (mach_port_t server_port, uint32_t client_id, uint64_t layer_id, CARenderServerBufferRef buffer, int32_t ox, int32_t oy, const CATransform3D *matrix);
+#else
 EXTERN_C void CARenderServerRenderLayerWithTransform(mach_port_t server_port, uint32_t client_id, uint64_t layer_id, IOSurfaceRef iosurface, int32_t ox, int32_t oy, const CATransform3D *matrix);
+#endif
 
 EXTERN_C NSString * const kCATiledLayerRemoveImmediately;