Title: [260313] trunk/Source/WebCore
- Revision
- 260313
- Author
- ddkil...@apple.com
- Date
- 2020-04-18 09:01:49 -0700 (Sat, 18 Apr 2020)
Log Message
Attempt #3 to fix tvOS build
Unreviewed.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer):
(WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback):
- Use !PLATFORM(APPLETV) to comment out functions declared within
ENABLE(VIDEO_PRESENTATION_MODE) from r260307 and r260308.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (260312 => 260313)
--- trunk/Source/WebCore/ChangeLog 2020-04-18 16:01:02 UTC (rev 260312)
+++ trunk/Source/WebCore/ChangeLog 2020-04-18 16:01:49 UTC (rev 260313)
@@ -1,3 +1,15 @@
+2020-04-18 David Kilzer <ddkil...@apple.com>
+
+ Attempt #3 to fix tvOS build
+
+ Unreviewed.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback):
+ - Use !PLATFORM(APPLETV) to comment out functions declared within
+ ENABLE(VIDEO_PRESENTATION_MODE) from r260307 and r260308.
+
2020-04-18 Yusuke Suzuki <ysuz...@apple.com>
[WTF] Move DataRef.h from WebCore to WTF to utilize it in JSC
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (260312 => 260313)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2020-04-18 16:01:02 UTC (rev 260312)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2020-04-18 16:01:49 UTC (rev 260313)
@@ -650,7 +650,7 @@
m_videoLayerManager->setVideoLayer(m_videoLayer.get(), defaultSize);
-#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS)
+#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
if ([m_videoLayer respondsToSelector:@selector(setPIPModeEnabled:)])
[m_videoLayer setPIPModeEnabled:(player()->fullscreenMode() & MediaPlayer::VideoFullscreenModePictureInPicture)];
#endif
@@ -2889,7 +2889,7 @@
void MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback()
{
-#if PLATFORM(IOS_FAMILY)
+#if PLATFORM(IOS_FAMILY) && !PLATFORM(APPLETV)
if (!m_avPlayer)
return;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes