Changeset 260313 in webkit
- Timestamp:
- Apr 18, 2020 9:01:49 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260311 r260313 1 2020-04-18 David Kilzer <ddkilzer@apple.com> 2 3 Attempt #3 to fix tvOS build 4 5 Unreviewed. 6 7 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: 8 (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): 9 (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback): 10 - Use !PLATFORM(APPLETV) to comment out functions declared within 11 ENABLE(VIDEO_PRESENTATION_MODE) from r260307 and r260308. 12 1 13 2020-04-18 Yusuke Suzuki <ysuzuki@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
r260308 r260313 651 651 m_videoLayerManager->setVideoLayer(m_videoLayer.get(), defaultSize); 652 652 653 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) 653 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV) 654 654 if ([m_videoLayer respondsToSelector:@selector(setPIPModeEnabled:)]) 655 655 [m_videoLayer setPIPModeEnabled:(player()->fullscreenMode() & MediaPlayer::VideoFullscreenModePictureInPicture)]; … … 2890 2890 void MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback() 2891 2891 { 2892 #if PLATFORM(IOS_FAMILY) 2892 #if PLATFORM(IOS_FAMILY) && !PLATFORM(APPLETV) 2893 2893 if (!m_avPlayer) 2894 2894 return;
Note: See TracChangeset
for help on using the changeset viewer.