Title: [260307] trunk/Source/WebCore
Revision
260307
Author
[email protected]
Date
2020-04-18 00:15:21 -0700 (Sat, 18 Apr 2020)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (260306 => 260307)


--- trunk/Source/WebCore/ChangeLog	2020-04-18 03:04:46 UTC (rev 260306)
+++ trunk/Source/WebCore/ChangeLog	2020-04-18 07:15:21 UTC (rev 260307)
@@ -1,3 +1,13 @@
+2020-04-18  David Kilzer  <[email protected]>
+
+        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.
+
 2020-04-17  Simon Fraser  <[email protected]>
 
         Group overflow controls layers into a single container layer

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h (260306 => 260307)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h	2020-04-18 03:04:46 UTC (rev 260306)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h	2020-04-18 07:15:21 UTC (rev 260307)
@@ -176,6 +176,7 @@
     void paint(GraphicsContext&, const FloatRect&) override;
     void paintCurrentFrameInContext(GraphicsContext&, const FloatRect&) override;
     PlatformLayer* platformLayer() const override;
+#if ENABLE(VIDEO_PRESENTATION_MODE)
     RetainPtr<PlatformLayer> createVideoFullscreenLayer() override;
     void setVideoFullscreenLayer(PlatformLayer*, Function<void()>&& completionHandler) override;
     void updateVideoFullscreenInlineImage() final;
@@ -183,6 +184,7 @@
     void setVideoFullscreenGravity(MediaPlayer::VideoGravity) override;
     void setVideoFullscreenMode(MediaPlayer::VideoFullscreenMode) override;
     void videoFullscreenStandbyChanged() override;
+#endif
     void setPlayerRate(double);
 
 #if PLATFORM(IOS_FAMILY)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to