Title: [201463] trunk/Source/WebCore
Revision
201463
Author
ryanhad...@apple.com
Date
2016-05-27 13:14:16 -0700 (Fri, 27 May 2016)

Log Message

Attempt to fix the iOS build.

Unreviewed build fix.

* platform/graphics/cocoa/TextTrackRepresentationCocoa.mm:
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerLayer layoutSublayers]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201462 => 201463)


--- trunk/Source/WebCore/ChangeLog	2016-05-27 19:50:00 UTC (rev 201462)
+++ trunk/Source/WebCore/ChangeLog	2016-05-27 20:14:16 UTC (rev 201463)
@@ -1,3 +1,13 @@
+2016-05-27  Ryan Haddad  <ryanhad...@apple.com>
+
+        Attempt to fix the iOS build.
+
+        Unreviewed build fix.
+
+        * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm:
+        * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+        (-[WebAVPlayerLayer layoutSublayers]):
+
 2016-05-27  Brady Eidson  <beid...@apple.com>
 
         Modern IDB: After closing a Netflix video, trying to watch it again fails.

Modified: trunk/Source/WebCore/platform/graphics/cocoa/TextTrackRepresentationCocoa.mm (201462 => 201463)


--- trunk/Source/WebCore/platform/graphics/cocoa/TextTrackRepresentationCocoa.mm	2016-05-27 19:50:00 UTC (rev 201462)
+++ trunk/Source/WebCore/platform/graphics/cocoa/TextTrackRepresentationCocoa.mm	2016-05-27 20:14:16 UTC (rev 201463)
@@ -32,6 +32,8 @@
 #include "GraphicsContextCG.h"
 #include "IntRect.h"
 
+#import <WebCore/QuartzCoreSPI.h>
+
 #if PLATFORM(IOS)
 #include "WebCoreThread.h"
 #include "WebCoreThreadRun.h"
@@ -39,7 +41,7 @@
 
 using namespace WebCore;
 
-@interface WebCoreTextTrackRepresentationCocoaHelper : NSObject {
+@interface WebCoreTextTrackRepresentationCocoaHelper : NSObject <CALayerDelegate> {
     TextTrackRepresentationCocoa* _parent;
 }
 - (id)initWithParent:(TextTrackRepresentationCocoa*)parent;

Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (201462 => 201463)


--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm	2016-05-27 19:50:00 UTC (rev 201462)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm	2016-05-27 20:14:16 UTC (rev 201463)
@@ -261,7 +261,7 @@
     } else
         ASSERT_NOT_REACHED();
 
-    UIView *view = [_videoSublayer delegate];
+    UIView *view = (UIView *)[_videoSublayer delegate];
     CGAffineTransform transform = CGAffineTransformMakeScale(targetVideoFrame.width() / sourceVideoFrame.width(), targetVideoFrame.height() / sourceVideoFrame.height());
     [view setTransform:transform];
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to