Title: [209378] trunk/Source/WebKit2
Revision
209378
Author
timothy_hor...@apple.com
Date
2016-12-05 19:14:54 -0800 (Mon, 05 Dec 2016)

Log Message

Try to fix the iOS Simulator build.

* UIProcess/mac/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::mapAllIOSurfaceBackingStore):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209377 => 209378)


--- trunk/Source/WebKit2/ChangeLog	2016-12-06 02:43:59 UTC (rev 209377)
+++ trunk/Source/WebKit2/ChangeLog	2016-12-06 03:14:54 UTC (rev 209378)
@@ -1,3 +1,10 @@
+2016-12-05  Tim Horton  <timothy_hor...@apple.com>
+
+        Try to fix the iOS Simulator build.
+
+        * UIProcess/mac/RemoteLayerTreeHost.mm:
+        (WebKit::RemoteLayerTreeHost::mapAllIOSurfaceBackingStore):
+
 2016-12-03  Simon Fraser  <simon.fra...@apple.com>
 
         Minor reformat and renames in -didUpdateVisibleRect:

Modified: trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm (209377 => 209378)


--- trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm	2016-12-06 02:43:59 UTC (rev 209377)
+++ trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeHost.mm	2016-12-06 03:14:54 UTC (rev 209378)
@@ -274,6 +274,7 @@
     m_rootLayer = nullptr;
 }
 
+#if USE(IOSURFACE)
 static void recursivelyMapIOSurfaceBackingStore(CALayer *layer)
 {
     if (layer.contents && CFGetTypeID(layer.contents) == CAMachPortGetTypeID()) {
@@ -285,10 +286,13 @@
     for (CALayer *sublayer in layer.sublayers)
         recursivelyMapIOSurfaceBackingStore(sublayer);
 }
+#endif
 
 void RemoteLayerTreeHost::mapAllIOSurfaceBackingStore()
 {
+#if USE(IOSURFACE)
     recursivelyMapIOSurfaceBackingStore(asLayer(m_rootLayer));
+#endif
 }
 
 } // namespace WebKit
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to