Title: [198991] branches/safari-601.1.46-branch/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm
- Revision
- 198991
- Author
- [email protected]
- Date
- 2016-04-03 14:19:58 -0700 (Sun, 03 Apr 2016)
Log Message
Fix build by moving elementRectInWindow() to where it is used.
Modified Paths
Diff
Modified: branches/safari-601.1.46-branch/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm (198990 => 198991)
--- branches/safari-601.1.46-branch/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm 2016-04-03 20:19:47 UTC (rev 198990)
+++ branches/safari-601.1.46-branch/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm 2016-04-03 21:19:58 UTC (rev 198991)
@@ -46,14 +46,6 @@
using namespace WebCore;
-static IntRect elementRectInWindow(HTMLVideoElement* videoElement)
-{
- if (!videoElement || !videoElement->renderer() || !videoElement->document().view())
- return IntRect();
-
- return videoElement->document().view()->convertToContainingWindow(videoElement->renderer()->absoluteBoundingBoxRect());
-}
-
#if __IPHONE_OS_VERSION_MIN_REQUIRED <= 80200 || !HAVE(AVKIT)
@implementation WebVideoFullscreenController
@@ -84,6 +76,14 @@
#else
+static IntRect elementRectInWindow(HTMLVideoElement* videoElement)
+{
+ if (!videoElement || !videoElement->renderer() || !videoElement->document().view())
+ return IntRect();
+
+ return videoElement->document().view()->convertToContainingWindow(videoElement->renderer()->absoluteBoundingBoxRect());
+}
+
class WebVideoFullscreenControllerContext;
@interface WebVideoFullscreenController (delegate)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes