Title: [264493] trunk/Source/WebCore/PAL
Revision
264493
Author
[email protected]
Date
2020-07-16 18:37:19 -0700 (Thu, 16 Jul 2020)

Log Message

Use AVRoutePickerView when available for choosing AirPlay devices
https://bugs.webkit.org/show_bug.cgi?id=213497
<rdar://problem/58610662>

Unreviewed build fix.


* pal/spi/cocoa/AVKitSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (264492 => 264493)


--- trunk/Source/WebCore/PAL/ChangeLog	2020-07-17 01:10:15 UTC (rev 264492)
+++ trunk/Source/WebCore/PAL/ChangeLog	2020-07-17 01:37:19 UTC (rev 264493)
@@ -1,3 +1,13 @@
+2020-07-16  Eric Carlson  <[email protected]>
+
+        Use AVRoutePickerView when available for choosing AirPlay devices
+        https://bugs.webkit.org/show_bug.cgi?id=213497
+        <rdar://problem/58610662>
+
+        Unreviewed build fix.
+
+        * pal/spi/cocoa/AVKitSPI.h:
+
 2020-07-16  Fujii Hironori  <[email protected]>
 
         [WTF] Remove the unnecessary inner class DefaultHash<T>::Hash

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/AVKitSPI.h (264492 => 264493)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/AVKitSPI.h	2020-07-17 01:10:15 UTC (rev 264492)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/AVKitSPI.h	2020-07-17 01:37:19 UTC (rev 264493)
@@ -228,12 +228,9 @@
 #endif // PLATFORM(MAC)
 
 #if ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY)
-
 #if USE(APPLE_INTERNAL_SDK)
 
 #import <AVKit/AVOutputDeviceMenuController.h>
-#import <AVKit/AVRoutePickerView_Private.h>
-#import <AVKit/AVRoutePickerView_WebKitOnly.h>
 
 #else
 
@@ -255,6 +252,22 @@
 
 @end
 
+NS_ASSUME_NONNULL_END
+
+#endif // USE(APPLE_INTERNAL_SDK)
+#endif // ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY)
+
+#if HAVE(AVROUTEPICKERVIEW)
+#if USE(APPLE_INTERNAL_SDK)
+
+#import <AVKit/AVRoutePickerView.h>
+#import <AVKit/AVRoutePickerView_Private.h>
+#import <AVKit/AVRoutePickerView_WebKitOnly.h>
+
+#else
+
+NS_ASSUME_NONNULL_BEGIN
+
 @protocol AVRoutePickerViewDelegate;
 
 @interface AVRoutePickerView : NSView
@@ -275,9 +288,8 @@
 NS_ASSUME_NONNULL_END
 
 #endif // USE(APPLE_INTERNAL_SDK)
+#endif // HAVE(AVROUTEPICKERVIEW)
 
-#endif // ENABLE(WIRELESS_PLAYBACK_TARGET) && !PLATFORM(IOS_FAMILY)
-
 NS_ASSUME_NONNULL_BEGIN
 
 @interface AVValueTiming : NSObject <NSCoding, NSCopying, NSMutableCopying> 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to