Title: [157551] trunk/Source/WebKit/win
Revision
157551
Author
timothy_hor...@apple.com
Date
2013-10-16 19:04:26 -0700 (Wed, 16 Oct 2013)

Log Message

Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.

Apparently some *more* Windows code uses setFrame and I missed it.

* FullscreenVideoController.cpp:
(FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):

Modified Paths

Diff

Modified: trunk/Source/WebKit/win/ChangeLog (157550 => 157551)


--- trunk/Source/WebKit/win/ChangeLog	2013-10-17 01:58:53 UTC (rev 157550)
+++ trunk/Source/WebKit/win/ChangeLog	2013-10-17 02:04:26 UTC (rev 157551)
@@ -1,3 +1,12 @@
+2013-10-16  Tim Horton  <timothy_hor...@apple.com>
+
+        Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547.
+
+        Apparently some *more* Windows code uses setFrame and I missed it.
+
+        * FullscreenVideoController.cpp:
+        (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
+
 2013-10-16  Jochen Eisinger  <joc...@chromium.org>
 
         A page should exit fullscreen mode if it opens a new popup

Modified: trunk/Source/WebKit/win/FullscreenVideoController.cpp (157550 => 157551)


--- trunk/Source/WebKit/win/FullscreenVideoController.cpp	2013-10-17 01:58:53 UTC (rev 157550)
+++ trunk/Source/WebKit/win/FullscreenVideoController.cpp	2013-10-17 02:04:26 UTC (rev 157551)
@@ -229,7 +229,8 @@
     FloatPoint videoOrigin;
     videoOrigin.setX((layerBounds.width() - videoSize.width()) * 0.5);
     videoOrigin.setY((layerBounds.height() - videoSize.height()) * 0.5);
-    videoLayer->setFrame(FloatRect(videoOrigin, videoSize));
+    videoLayer->setPosition(videoOrigin);
+    videoLayer->setBounds(FloatRect(FloatPoint(), videoSize));
 }
 #endif 
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to