Title: [269901] trunk/Source/WebKit
Revision
269901
Author
[email protected]
Date
2020-11-17 08:04:30 -0800 (Tue, 17 Nov 2020)

Log Message

Preemptive build fix for https://bugs.webkit.org/show_bug.cgi?id=219024

* UIProcess/ios/forms/WKAirPlayRoutePicker.mm:
(SOFT_LINK_CLASS):
(-[WKAirPlayRoutePicker show:fromRect:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (269900 => 269901)


--- trunk/Source/WebKit/ChangeLog	2020-11-17 15:31:47 UTC (rev 269900)
+++ trunk/Source/WebKit/ChangeLog	2020-11-17 16:04:30 UTC (rev 269901)
@@ -1,5 +1,13 @@
 2020-11-17  Tim Horton  <[email protected]>
 
+        Preemptive build fix for https://bugs.webkit.org/show_bug.cgi?id=219024
+
+        * UIProcess/ios/forms/WKAirPlayRoutePicker.mm:
+        (SOFT_LINK_CLASS):
+        (-[WKAirPlayRoutePicker show:fromRect:]):
+
+2020-11-17  Tim Horton  <[email protected]>
+
         REGRESSION (r269824): YouTube media control bar sometimes flickers
         https://bugs.webkit.org/show_bug.cgi?id=219017
         <rdar://problem/71454799>

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


--- trunk/Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm	2020-11-17 15:31:47 UTC (rev 269900)
+++ trunk/Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm	2020-11-17 16:04:30 UTC (rev 269901)
@@ -47,13 +47,11 @@
 SOFT_LINK_CLASS(MediaPlayer, MPAudioVideoRoutingPopoverController)
 SOFT_LINK_CLASS(MediaPlayer, MPAVRoutingSheet)
 
-using namespace WebKit;
-
 @implementation WKAirPlayRoutePicker {
     RetainPtr<MPAVRoutingController> _routingController;
     RetainPtr<MPAudioVideoRoutingPopoverController> _popoverController;  // iPad
     RetainPtr<MPAVRoutingSheet> _actionSheet; // iPhone
-    WKContentView* _view; // Weak reference.
+    WKContentView *_view;
 }
 
 - (instancetype)initWithView:(WKContentView *)view
@@ -154,7 +152,7 @@
     [_routingController setDiscoveryMode:MPRouteDiscoveryModeDetailed];
 
     MPAVItemType itemType = hasVideo ? MPAVItemTypeVideo : MPAVItemTypeAudio;
-    if (currentUserInterfaceIdiomIsPadOrMac())
+    if (WebKit::currentUserInterfaceIdiomIsPadOrMac())
         [self showAirPlayPickerIPad:itemType fromRect:elementRect];
     else
         [self showAirPlayPickerIPhone:itemType];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to