Title: [172938] trunk/Source/WebKit/mac
Revision
172938
Author
dba...@webkit.org
Date
2014-08-25 15:15:27 -0700 (Mon, 25 Aug 2014)

Log Message

Attempt to fix the iOS build after <http://trac.webkit.org/changeset/172889>
(https://bugs.webkit.org/show_bug.cgi?id=109658)

Substitute GraphicsLayer::setContentsToPlatformLayer(..., GraphicsLayer::ContentsLayerForMedia)
for GraphicsLayer::setContentsToMedia(...) because the latter was removed in <http://trac.webkit.org/changeset/172889>.

* WebView/WebView.mm:
(-[WebView _setMediaLayer:forPluginView:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (172937 => 172938)


--- trunk/Source/WebKit/mac/ChangeLog	2014-08-25 21:05:29 UTC (rev 172937)
+++ trunk/Source/WebKit/mac/ChangeLog	2014-08-25 22:15:27 UTC (rev 172938)
@@ -1,3 +1,14 @@
+2014-08-25  Daniel Bates  <daba...@apple.com>
+
+        Attempt to fix the iOS build after <http://trac.webkit.org/changeset/172889>
+        (https://bugs.webkit.org/show_bug.cgi?id=109658)
+
+        Substitute GraphicsLayer::setContentsToPlatformLayer(..., GraphicsLayer::ContentsLayerForMedia)
+        for GraphicsLayer::setContentsToMedia(...) because the latter was removed in <http://trac.webkit.org/changeset/172889>.
+
+        * WebView/WebView.mm:
+        (-[WebView _setMediaLayer:forPluginView:]):
+
 2014-08-22  Commit Queue  <commit-qu...@webkit.org>
 
         Unreviewed, rolling out r172866.

Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (172937 => 172938)


--- trunk/Source/WebKit/mac/WebView/WebView.mm	2014-08-25 21:05:29 UTC (rev 172937)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm	2014-08-25 22:15:27 UTC (rev 172938)
@@ -3443,7 +3443,7 @@
             continue;
         
         if (layerForWidget->contentsLayerForMedia() != layer) {
-            layerForWidget->setContentsToMedia(layer);
+            layerForWidget->setContentsToPlatformLayer(layer, GraphicsLayer::ContentsLayerForMedia);
             // We need to make sure the layer hierachy change is applied immediately.
             if (mainCoreFrame->view())
                 mainCoreFrame->view()->flushCompositingStateIncludingSubframes();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to