Changeset 176445 in webkit
- Timestamp:
- Nov 20, 2014, 11:23:12 PM (12 years ago)
- Location:
- tags/Safari-601.1.10.1/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/ios/forms/WKAirPlayRoutePicker.mm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-601.1.10.1/Source/WebKit2/ChangeLog
r176364 r176445 1 2014-11-20 Babak Shafiei <bshafiei@apple.com> 2 3 Merge r176441. 4 5 2014-11-20 Dan Bernstein <mitz@apple.com> 6 7 Build fix. 8 9 * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: 10 (-[WKAirPlayRoutePicker showAirPlayPickerIPad:fromRect:]): Cast the return value of 11 [getMPAudioVideoRoutingPopoverControllerClass() alloc] to resolve ambiguity about which 12 -initWithType: we are calling. 13 (-[WKAirPlayRoutePicker showAirPlayPickerIPhone:]): Cast to resolve ambiguity. 14 (-[WKAirPlayRoutePicker show:fromRect:]): Cast for consistency. 15 1 16 2014-11-19 Babak Shafiei <bshafiei@apple.com> 2 17 -
tags/Safari-601.1.10.1/Source/WebKit2/UIProcess/ios/forms/WKAirPlayRoutePicker.mm
r176206 r176445 117 117 return; 118 118 119 _popoverController = adoptNS([ [getMPAudioVideoRoutingPopoverControllerClass() alloc] initWithType:itemType]);119 _popoverController = adoptNS([(MPAudioVideoRoutingPopoverController *)[getMPAudioVideoRoutingPopoverControllerClass() alloc] initWithType:itemType]); 120 120 [_popoverController setDelegate:self]; 121 121 … … 132 132 return; 133 133 134 _actionSheet = adoptNS([ [getMPAudioVideoRoutingActionSheetClass() alloc] initWithType:itemType]);134 _actionSheet = adoptNS([(MPAudioVideoRoutingActionSheet *)[getMPAudioVideoRoutingActionSheetClass() alloc] initWithType:itemType]); 135 135 136 136 [_actionSheet … … 147 147 - (void)show:(BOOL)hasVideo fromRect:(CGRect)elementRect 148 148 { 149 _routingController = adoptNS([ [getMPAVRoutingControllerClass() alloc] initWithName:@"WebKit2 - HTML media element showing AirPlay route picker"]);149 _routingController = adoptNS([(MPAVRoutingController *)[getMPAVRoutingControllerClass() alloc] initWithName:@"WebKit2 - HTML media element showing AirPlay route picker"]); 150 150 [_routingController setDiscoveryMode:MPRouteDiscoveryModeDetailed]; 151 151
Note:
See TracChangeset
for help on using the changeset viewer.