[webkit-changes] [WebKit/WebKit] 4c7d68: Unreviewed, fix the internal tvOS build after 2707...

Wenson Hsieh noreply at github.com
Wed Nov 15 15:19:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c7d687a949a5d68adbdcf1aab6f4ab61fe2b933
      https://github.com/WebKit/WebKit/commit/4c7d687a949a5d68adbdcf1aab6f4ab61fe2b933
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Unreviewed, fix the internal tvOS build after 270746 at main

Move the declaration of `-_internalAdjustSelectionWithOffset:lengthDelta:completionHandler` out of
the `HAVE(UI_WK_DOCUMENT_CONTEXT)` compile-time guard, so that it can be called on tvOS as well.
This method doesn't actually depend on `HAVE(UI_WK_DOCUMENT_CONTEXT)` at all, so it can be used in
the `HAVE(UI_ASYNC_TEXT_INTERACTION)` section. Note that this method doesn't actually depend on
`UIWKDocumentContext` at all.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _internalAdjustSelectionWithOffset:lengthDelta:completionHandler:]):
(-[WKContentView adjustSelectionWithDelta:completionHandler:]):

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




More information about the webkit-changes mailing list