Changeset 260313 in webkit


Ignore:
Timestamp:
Apr 18, 2020 9:01:49 AM (4 years ago)
Author:
ddkilzer@apple.com
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.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r260311 r260313  
     12020-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
    1132020-04-18  Yusuke Suzuki  <ysuzuki@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r260308 r260313  
    651651    m_videoLayerManager->setVideoLayer(m_videoLayer.get(), defaultSize);
    652652
    653 #if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS)
     653#if PLATFORM(IOS_FAMILY) && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
    654654    if ([m_videoLayer respondsToSelector:@selector(setPIPModeEnabled:)])
    655655        [m_videoLayer setPIPModeEnabled:(player()->fullscreenMode() & MediaPlayer::VideoFullscreenModePictureInPicture)];
     
    28902890void MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback()
    28912891{
    2892 #if PLATFORM(IOS_FAMILY)
     2892#if PLATFORM(IOS_FAMILY) && !PLATFORM(APPLETV)
    28932893    if (!m_avPlayer)
    28942894        return;
Note: See TracChangeset for help on using the changeset viewer.