Changeset 260307 in webkit


Ignore:
Timestamp:
Apr 18, 2020 12:15:21 AM (4 years ago)
Author:
ddkilzer@apple.com
Message:

Attempt to fix watchOS build

Unreviewed.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
  • Add #if ENABLE(VIDEO_PRESENTATION_MODE)/#endif to protect methods defined in MediaPlayerPrivate.h.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r260305 r260307  
     12020-04-18  David Kilzer  <ddkilzer@apple.com>
     2
     3        Attempt to fix watchOS build
     4
     5        Unreviewed.
     6
     7        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
     8        - Add #if ENABLE(VIDEO_PRESENTATION_MODE)/#endif to protect
     9          methods defined in MediaPlayerPrivate.h.
     10
    1112020-04-17  Simon Fraser  <simon.fraser@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h

    r258082 r260307  
    177177    void paintCurrentFrameInContext(GraphicsContext&, const FloatRect&) override;
    178178    PlatformLayer* platformLayer() const override;
     179#if ENABLE(VIDEO_PRESENTATION_MODE)
    179180    RetainPtr<PlatformLayer> createVideoFullscreenLayer() override;
    180181    void setVideoFullscreenLayer(PlatformLayer*, Function<void()>&& completionHandler) override;
     
    184185    void setVideoFullscreenMode(MediaPlayer::VideoFullscreenMode) override;
    185186    void videoFullscreenStandbyChanged() override;
     187#endif
    186188    void setPlayerRate(double);
    187189
Note: See TracChangeset for help on using the changeset viewer.