Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c7d687a949a5d68adbdcf1aab6f4ab61fe2b933
      
https://github.com/WebKit/WebKit/commit/4c7d687a949a5d68adbdcf1aab6f4ab61fe2b933
  Author: Wenson Hsieh <[email protected]>
  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@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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to