[webkit-changes] [WebKit/WebKit] 8634b4: Unreviewed, fix the build with certain versions of...

Wenson Hsieh noreply at github.com
Sun Dec 17 13:12:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8634b4bd2060f896c09399aa07d21cbf6c24f9ea
      https://github.com/WebKit/WebKit/commit/8634b4bd2060f896c09399aa07d21cbf6c24f9ea
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-12-17 (Sun, 17 Dec 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Unreviewed, fix the build with certain versions of the internal iOS SDK

On some versions of the iOS SDK where `WKSEContextMenuConfiguration` is available, the header
contains a declaration of `-fulfillWithConfiguration:`, which has since been renamed to
`-fulfillUsingConfiguration:`.

For the time being, ensure source (and binary) compatibility with both API names.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView contextMenuInteraction:configurationForMenuAtLocation:]):

Canonical link: https://commits.webkit.org/272196@main




More information about the webkit-changes mailing list