Title: [254946] trunk/Source/WebCore
Revision
254946
Author
[email protected]
Date
2020-01-22 14:31:58 -0800 (Wed, 22 Jan 2020)

Log Message

Unreviewed, fix build with recent SDKs.

* platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:
(WebCore::MediaPlaybackTargetPickerMac::externalOutputDeviceAvailable):
(WebCore::MediaPlaybackTargetPickerMac::devicePicker):
(WebCore::MediaPlaybackTargetPickerMac::showPlaybackTargetPicker):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (254945 => 254946)


--- trunk/Source/WebCore/ChangeLog	2020-01-22 22:00:43 UTC (rev 254945)
+++ trunk/Source/WebCore/ChangeLog	2020-01-22 22:31:58 UTC (rev 254946)
@@ -1,3 +1,12 @@
+2020-01-22  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix build with recent SDKs.
+
+        * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:
+        (WebCore::MediaPlaybackTargetPickerMac::externalOutputDeviceAvailable):
+        (WebCore::MediaPlaybackTargetPickerMac::devicePicker):
+        (WebCore::MediaPlaybackTargetPickerMac::showPlaybackTargetPicker):
+
 2020-01-22  Nikos Mouchtaris  <[email protected]>
 
         Automatic link replacement via "Smart links" should emit "insertLink" input events

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm (254945 => 254946)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm	2020-01-22 22:00:43 UTC (rev 254945)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm	2020-01-22 22:31:58 UTC (rev 254946)
@@ -72,7 +72,9 @@
 
 bool MediaPlaybackTargetPickerMac::externalOutputDeviceAvailable()
 {
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     return devicePicker().externalOutputDeviceAvailable;
+ALLOW_DEPRECATED_DECLARATIONS_END
 }
 
 Ref<MediaPlaybackTarget> MediaPlaybackTargetPickerMac::playbackTarget()
@@ -98,8 +100,10 @@
 
         LOG(Media, "MediaPlaybackTargetPickerMac::devicePicker - allocated menu controller %p", m_outputDeviceMenuController.get());
 
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
         if (m_outputDeviceMenuController.get().externalOutputDeviceAvailable)
             availableDevicesDidChange();
+ALLOW_DEPRECATED_DECLARATIONS_END
     }
 
     return m_outputDeviceMenuController.get();
@@ -114,7 +118,9 @@
 
     m_showingMenu = true;
 
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     bool targetSelected = [devicePicker() showMenuForRect:location appearanceName:(useDarkAppearance ? NSAppearanceNameVibrantDark : NSAppearanceNameVibrantLight) allowReselectionOfSelectedOutputDevice:!hasActiveRoute];
+ALLOW_DEPRECATED_DECLARATIONS_END
 
     if (targetSelected != hasActiveRoute)
         currentDeviceDidChange();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to