[webkit-changes] [WebKit/WebKit] ea623f: Switch from fontForCaretSelection to returning the...

megangardner noreply at github.com
Mon Dec 4 15:17:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea623fe8675130f284b0f115793dcbbf53bf6987
      https://github.com/WebKit/WebKit/commit/ea623fe8675130f284b0f115793dcbbf53bf6987
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

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

  Log Message:
  -----------
  Switch from fontForCaretSelection to returning the information in the stylingDictionary to remove more SPI.
https://bugs.webkit.org/show_bug.cgi?id=265708
rdar://119057964

Reviewed by Wenson Hsieh.

In our continued effort to move off of SPI, remove this call and instead return the information in a API path.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView textStylingAtPosition:inDirection:]):
(-[WKContentView fontForCaretSelection]): Deleted.

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




More information about the webkit-changes mailing list