⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176445 in webkit


Ignore:
Timestamp:
Nov 20, 2014, 11:23:12 PM (12 years ago)
Author:
bshafiei@apple.com
Message:

Merged r176441. rdar://problem/19054967

Location:
tags/Safari-601.1.10.1/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-601.1.10.1/Source/WebKit2/ChangeLog

    r176364 r176445  
     12014-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
    1162014-11-19  Babak Shafiei  <bshafiei@apple.com>
    217
  • tags/Safari-601.1.10.1/Source/WebKit2/UIProcess/ios/forms/WKAirPlayRoutePicker.mm

    r176206 r176445  
    117117        return;
    118118
    119     _popoverController = adoptNS([[getMPAudioVideoRoutingPopoverControllerClass() alloc] initWithType:itemType]);
     119    _popoverController = adoptNS([(MPAudioVideoRoutingPopoverController *)[getMPAudioVideoRoutingPopoverControllerClass() alloc] initWithType:itemType]);
    120120    [_popoverController setDelegate:self];
    121121
     
    132132        return;
    133133
    134     _actionSheet = adoptNS([[getMPAudioVideoRoutingActionSheetClass() alloc] initWithType:itemType]);
     134    _actionSheet = adoptNS([(MPAudioVideoRoutingActionSheet *)[getMPAudioVideoRoutingActionSheetClass() alloc] initWithType:itemType]);
    135135
    136136    [_actionSheet
     
    147147- (void)show:(BOOL)hasVideo fromRect:(CGRect)elementRect
    148148{
    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"]);
    150150    [_routingController setDiscoveryMode:MPRouteDiscoveryModeDetailed];
    151151
Note: See TracChangeset for help on using the changeset viewer.