Title: [260308] trunk/Source/WebCore
Revision
260308
Author
[email protected]
Date
2020-04-18 04:58:13 -0700 (Sat, 18 Apr 2020)

Log Message

Attempt #2 to fix tvOS build

Unreviewed.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
- Add #if ENABLE(VIDEO_PRESENTATION_MODE)/#endif to protect
  methods defined in MediaPlayerPrivate.h.
- The previous commit was (r260307) also to fix tvOS, not watchOS.

Modified Paths

Diff

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


--- trunk/Source/WebCore/ChangeLog	2020-04-18 07:15:21 UTC (rev 260307)
+++ trunk/Source/WebCore/ChangeLog	2020-04-18 11:58:13 UTC (rev 260308)
@@ -1,5 +1,16 @@
 2020-04-18  David Kilzer  <[email protected]>
 
+        Attempt #2 to fix tvOS build
+
+        Unreviewed.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        - Add #if ENABLE(VIDEO_PRESENTATION_MODE)/#endif to protect
+          methods defined in MediaPlayerPrivate.h.
+        - The previous commit was (r260307) also to fix tvOS, not watchOS.
+
+2020-04-18  David Kilzer  <[email protected]>
+
         Attempt to fix watchOS build
 
         Unreviewed.

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


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2020-04-18 07:15:21 UTC (rev 260307)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2020-04-18 11:58:13 UTC (rev 260308)
@@ -1090,6 +1090,8 @@
     return m_videoLayerManager->videoInlineLayer();
 }
 
+#if ENABLE(VIDEO_PRESENTATION_MODE)
+
 void MediaPlayerPrivateAVFoundationObjC::updateVideoFullscreenInlineImage()
 {
     updateLastImage(UpdateType::UpdateSynchronously);
@@ -1157,6 +1159,8 @@
 #endif
 }
 
+#endif // ENABLE(VIDEO_PRESENTATION_MODE)
+
 #if PLATFORM(IOS_FAMILY)
 NSArray *MediaPlayerPrivateAVFoundationObjC::timedMetadata() const
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to