Changeset 207478 in webkit


Ignore:
Timestamp:
Oct 18, 2016 12:22:11 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build for platforms where HAVE(LINK_PREVIEW) is false
https://bugs.webkit.org/show_bug.cgi?id=163607

Patch by Megan Gardner <Megan Gardner> on 2016-10-18
Reviewed by Tim Horton.

Added needed # for link preview

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _contentsOfUserInterfaceItem:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r207466 r207478  
     12016-10-18  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Fix build for platforms where HAVE(LINK_PREVIEW) is false
     4        https://bugs.webkit.org/show_bug.cgi?id=163607
     5
     6        Reviewed by Tim Horton.
     7
     8        Added needed # for link preview
     9
     10        * UIProcess/ios/WKContentViewInteraction.mm:
     11        (-[WKContentView _contentsOfUserInterfaceItem:]):
     12
    1132016-10-18  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm

    r207447 r207478  
    38493849    if ([userInterfaceItem isEqualToString:@"actionSheet"])
    38503850        return @{ userInterfaceItem: [_actionSheetAssistant currentAvailableActionTitles] };
    3851    
     3851
     3852#if HAVE(LINK_PREVIEW)
    38523853    if ([userInterfaceItem isEqualToString:@"linkPreviewPopoverContents"]) {
    38533854        NSString *url = [_previewItemController previewData][UIPreviewDataLink];
    38543855        return @{ userInterfaceItem: @{ @"pageURL": url } };
    38553856    }
     3857#endif
    38563858   
    38573859    return nil;
Note: See TracChangeset for help on using the changeset viewer.