Title: [240461] trunk/Source
Revision
240461
Author
eric.carl...@apple.com
Date
2019-01-24 18:00:01 -0800 (Thu, 24 Jan 2019)

Log Message

[iOS] Silence MediaPlayer compile warnings
https://bugs.webkit.org/show_bug.cgi?id=193780
<rdar://problem/47518428>

Reviewed by Jer Noble.

Source/WebCore/PAL:

* pal/spi/ios/MediaPlayerSPI.h:

Source/WebKit:

* UIProcess/ios/forms/WKAirPlayRoutePicker.mm:

Modified Paths

Diff

Modified: trunk/Source/WebCore/PAL/ChangeLog (240460 => 240461)


--- trunk/Source/WebCore/PAL/ChangeLog	2019-01-25 01:49:10 UTC (rev 240460)
+++ trunk/Source/WebCore/PAL/ChangeLog	2019-01-25 02:00:01 UTC (rev 240461)
@@ -1,3 +1,13 @@
+2019-01-24  Eric Carlson  <eric.carl...@apple.com>
+
+        [iOS] Silence MediaPlayer compile warnings
+        https://bugs.webkit.org/show_bug.cgi?id=193780
+        <rdar://problem/47518428>
+
+        Reviewed by Jer Noble.
+
+        * pal/spi/ios/MediaPlayerSPI.h:
+
 2019-01-24  Ross Kirsling  <ross.kirsl...@sony.com>
 
         Move FileSystem to WTF

Modified: trunk/Source/WebCore/PAL/pal/spi/ios/MediaPlayerSPI.h (240460 => 240461)


--- trunk/Source/WebCore/PAL/pal/spi/ios/MediaPlayerSPI.h	2019-01-25 01:49:10 UTC (rev 240460)
+++ trunk/Source/WebCore/PAL/pal/spi/ios/MediaPlayerSPI.h	2019-01-25 02:00:01 UTC (rev 240461)
@@ -34,6 +34,10 @@
 
 #import <MediaPlayer/MPAVRoutingController.h>
 
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 120000
+#import <MediaPlayer/MPMediaControlsConfiguration.h>
+#endif
+
 #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000 && !PLATFORM(WATCHOS) && !PLATFORM(APPLETV)
 #import <MediaPlayer/MPMediaControlsViewController.h>
 #else

Modified: trunk/Source/WebKit/ChangeLog (240460 => 240461)


--- trunk/Source/WebKit/ChangeLog	2019-01-25 01:49:10 UTC (rev 240460)
+++ trunk/Source/WebKit/ChangeLog	2019-01-25 02:00:01 UTC (rev 240461)
@@ -1,3 +1,13 @@
+2019-01-24  Eric Carlson  <eric.carl...@apple.com>
+
+        [iOS] Silence MediaPlayer compile warnings
+        https://bugs.webkit.org/show_bug.cgi?id=193780
+        <rdar://problem/47518428>
+
+        Reviewed by Jer Noble.
+
+        * UIProcess/ios/forms/WKAirPlayRoutePicker.mm:
+
 2019-01-24  Truitt Savell  <tsav...@apple.com>
 
         Unreviewed, rolling out r240446.

Modified: trunk/Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm (240460 => 240461)


--- trunk/Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm	2019-01-25 01:49:10 UTC (rev 240460)
+++ trunk/Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm	2019-01-25 02:00:01 UTC (rev 240461)
@@ -165,6 +165,8 @@
 
 #else 
 
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
+
 SOFT_LINK_FRAMEWORK(MediaPlayer)
 SOFT_LINK_CLASS(MediaPlayer, MPAVRoutingController)
 SOFT_LINK_CLASS(MediaPlayer, MPMediaControlsConfiguration)
@@ -230,6 +232,8 @@
 
 @end
 
+ALLOW_DEPRECATED_DECLARATIONS_END
+
 #endif
 
 #endif // PLATFORM(IOS_FAMILY) && ENABLE(AIRPLAY_PICKER)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to