Changeset 212988 in webkit


Ignore:
Timestamp:
Feb 24, 2017 7:24:59 PM (7 years ago)
Author:
Wenson Hsieh
Message:

Unreviewed, fix the internal build.

  • TestWebKitAPI/ios/DataInteractionSimulator.mm:

(-[DataInteractionSimulator _advanceProgress]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r212982 r212988  
     12017-02-24  Wenson Hsieh  <wenson_hsieh@apple.com>
     2
     3        Unreviewed, fix the internal build.
     4
     5        * TestWebKitAPI/ios/DataInteractionSimulator.mm:
     6        (-[DataInteractionSimulator _advanceProgress]):
     7
    182017-02-24  Matt Rajca  <mrajca@apple.com>
    29
  • trunk/Tools/TestWebKitAPI/ios/DataInteractionSimulator.mm

    r212974 r212988  
    148148    case DataInteractionBeginning: {
    149149        NSMutableArray<UIItemProvider *> *itemProviders = [NSMutableArray array];
    150         NSArray<WKDataInteractionItem *> *items = [_webView _simulatedItemsForSession:_dataInteractionSession.get()];
     150        NSArray *items = [_webView _simulatedItemsForSession:_dataInteractionSession.get()];
    151151        if (!items.count) {
    152152            _phase = DataInteractionCancelled;
     
    156156        }
    157157
     158#if HAS_DATA_INTERACTION_ITEMS
    158159        for (WKDataInteractionItem *item in items)
    159160            [itemProviders addObject:item.itemProvider];
     161#endif
    160162
    161163        _dataInteractionInfo = adoptNS([[MockDataInteractionInfo alloc] initWithProvider:itemProviders.firstObject location:self._currentLocation window:[_webView window]]);
     164#if HAS_DATA_INTERACTION_ITEMS
    162165        [_dataInteractionSession setItems:items];
     166#endif
    163167        [_webView _simulateWillBeginDataInteractionWithSession:_dataInteractionSession.get()];
    164168        _phase = DataInteractionBegan;
Note: See TracChangeset for help on using the changeset viewer.