X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebKit%2FUIProcess%2Fios%2FWKContentViewInteraction.mm;h=94ea37477dc988bb0fe0ac404143bf5ffd62ab1c;hp=83310438fedc86815c9d0fb92ed046446a02ded7;hb=c318f53256c480a902d04eeaca963fd01ff0bc55;hpb=d6bd97e70b2643fdeddb0a58f7670fb4389fc2b3;ds=sidebyside diff --git a/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm b/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm index 83310438fedc..94ea37477dc9 100644 --- a/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm +++ b/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm @@ -4000,8 +4000,8 @@ static bool isAssistableInputType(InputType type) - (void)_showPlaybackTargetPicker:(BOOL)hasVideo fromRect:(const IntRect&)elementRect { if (!_airPlayRoutePicker) - _airPlayRoutePicker = adoptNS([[WKAirPlayRoutePicker alloc] init]); - [_airPlayRoutePicker showFromView:self]; + _airPlayRoutePicker = adoptNS([[WKAirPlayRoutePicker alloc] initWithView:self]); + [_airPlayRoutePicker show:hasVideo fromRect:elementRect]; } - (void)_showRunOpenPanel:(API::OpenPanelParameters*)parameters resultListener:(WebOpenPanelResultListenerProxy*)listener