[webkit-changes] [WebKit/WebKit] 7b8666: Switch from textColorForCaretSelection to returnin...

megangardner noreply at github.com
Mon Dec 4 13:45:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b86660db5ace3ad3e53cc2f731201bb0cef2a8e
      https://github.com/WebKit/WebKit/commit/7b86660db5ace3ad3e53cc2f731201bb0cef2a8e
  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 textColorForCaretSelection to returning the information in the stylingDictionary to remove more SPI.
https://bugs.webkit.org/show_bug.cgi?id=265706
rdar://119057506

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 textColorForCaretSelection]): Deleted.

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




More information about the webkit-changes mailing list