Try to fix the iOS build after r202142 and r202224.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Jun 2016 17:10:00 +0000 (17:10 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Jun 2016 17:10:00 +0000 (17:10 +0000)
* Shared/mac/RemoteLayerBackingStore.mm:
(WebKit::RemoteLayerBackingStore::applyBackingStoreToLayer):

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/mac/RemoteLayerBackingStore.mm

index c3b6fa2..67d7ea1 100644 (file)
@@ -1,3 +1,10 @@
+2016-06-20  Tim Horton  <timothy_horton@apple.com>
+
+        Try to fix the iOS build after r202142 and r202224.
+
+        * Shared/mac/RemoteLayerBackingStore.mm:
+        (WebKit::RemoteLayerBackingStore::applyBackingStoreToLayer):
+
 2016-06-19  Simon Fraser  <simon.fraser@apple.com>
 
         Fix erroneously commented line added in r202142.
index a135c06..4917348 100644 (file)
@@ -400,7 +400,7 @@ void RemoteLayerBackingStore::applyBackingStoreToLayer(CALayer *layer)
 
 #if USE(IOSURFACE)
     if (acceleratesDrawing()) {
-        layer.contents = (id)m_frontBuffer.surface->surface();
+        layer.contents = m_frontBuffer.surface->asLayerContents();
         return;
     }
 #endif