Title: [199597] trunk/Source/WebCore
Revision
199597
Author
[email protected]
Date
2016-04-15 11:08:13 -0700 (Fri, 15 Apr 2016)

Log Message

Unreviewed build fix for iOS simulator. Assert the correct variable.

* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerLayer layoutSublayers]):
(-[WebAVPlayerLayer resolveBounds]):
(-[WebAVPlayerLayer setVideoGravity:]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (199596 => 199597)


--- trunk/Source/WebCore/ChangeLog	2016-04-15 17:59:00 UTC (rev 199596)
+++ trunk/Source/WebCore/ChangeLog	2016-04-15 18:08:13 UTC (rev 199597)
@@ -1,3 +1,12 @@
+2016-04-15  Jer Noble  <[email protected]>
+
+        Unreviewed build fix for iOS simulator. Assert the correct variable.
+
+        * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+        (-[WebAVPlayerLayer layoutSublayers]):
+        (-[WebAVPlayerLayer resolveBounds]):
+        (-[WebAVPlayerLayer setVideoGravity:]):
+
 2016-04-14  Jer Noble  <[email protected]>
 
         Allow WebVideoFullscreenManager and Proxy to be used by audio elements.

Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (199596 => 199597)


--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm	2016-04-15 17:59:00 UTC (rev 199596)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm	2016-04-15 18:08:13 UTC (rev 199597)
@@ -294,7 +294,7 @@
     } else if ([getAVLayerVideoGravityResizeAspectFill() isEqualToString:self.videoGravity]) {
         sourceVideoFrame = smallestRectWithAspectRatioAroundRect(videoAspectRatio, self.modelVideoLayerFrame);
         self.modelVideoLayerFrame = CGRectMake(0, 0, sourceVideoFrame.width(), sourceVideoFrame.height());
-        ASSERT(fullscreenInterface->model());
+        ASSERT(_fullscreenInterface->model());
         _fullscreenInterface->model()->setVideoLayerFrame(self.modelVideoLayerFrame);
         targetVideoFrame = smallestRectWithAspectRatioAroundRect(videoAspectRatio, self.bounds);
     } else
@@ -327,7 +327,7 @@
     [CATransaction setDisableActions:YES];
     
     self.modelVideoLayerFrame = [self bounds];
-    ASSERT(fullscreenInterface->model());
+    ASSERT(_fullscreenInterface->model());
     _fullscreenInterface->model()->setVideoLayerFrame(self.modelVideoLayerFrame);
     [(UIView *)[_videoSublayer delegate] setTransform:CGAffineTransformIdentity];
     
@@ -351,7 +351,7 @@
     else
         ASSERT_NOT_REACHED();
     
-    ASSERT(fullscreenInterface->model());
+    ASSERT(_fullscreenInterface->model());
     _fullscreenInterface->model()->setVideoLayerGravity(gravity);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to