Changeset 261361 in webkit


Ignore:
Timestamp:
May 7, 2020 5:39:24 PM (4 years ago)
Author:
Megan Gardner
Message:

Build Fix for MacCatalyst
https://bugs.webkit.org/show_bug.cgi?id=211601

Reviewed by Tim Horton.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _removeContextMenuViewIfPossible]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r261360 r261361  
     12020-05-07  Megan Gardner  <megan_gardner@apple.com>
     2
     3        Build Fix for MacCatalyst
     4        https://bugs.webkit.org/show_bug.cgi?id=211601
     5
     6        Reviewed by Tim Horton.
     7
     8        * UIProcess/ios/WKContentViewInteraction.mm:
     9        (-[WKContentView _removeContextMenuViewIfPossible]):
     10
    1112020-05-07  Chris Dumez  <cdumez@apple.com>
    212
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r261303 r261361  
    76777677- (void)_removeContextMenuViewIfPossible
    76787678{
     7679#if HAVE(LINK_PREVIEW)
    76797680    // If a new _contextMenuElementInfo is installed, we've started another interaction,
    76807681    // and removing the hint container view will cause the animation to break.
    76817682    if (_contextMenuElementInfo)
    76827683        return;
    7683     // We are also using this container for the file upload panel...
     7684#endif
     7685#if ENABLE(DATA_DETECTION)
     7686    // We are also using this container for the action sheet assistant...
     7687    if ([_actionSheetAssistant hasContextMenuInteraction])
     7688        return;
     7689#endif
     7690    // and for the file upload panel.
    76847691    if (_fileUploadPanel)
    76857692        return;
    7686     // and the action sheet assistant.
    7687     if ([_actionSheetAssistant hasContextMenuInteraction])
    7688         return;
     7693   
    76897694    [std::exchange(_contextMenuHintContainerView, nil) removeFromSuperview];
    76907695}
Note: See TracChangeset for help on using the changeset viewer.