Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7003dbcab5b68f602cad24dd95030c9b67b26e73
      
https://github.com/WebKit/WebKit/commit/7003dbcab5b68f602cad24dd95030c9b67b26e73
  Author: Richard Robinson <[email protected]>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm

  Log Message:
  -----------
  [Unified Text Replacement] `WebPage::autocorrectionContextRange` sometimes 
returns an incorrect range
https://bugs.webkit.org/show_bug.cgi?id=269385
rdar://122960194

Reviewed by Aditya Keerthi.

This function was previously (incorrectly) refactored; fix by reverting it to 
its original state,
and making the proper fix by simply null-checking the relevant range as 
appropriate.

Also add some clarifying comments.

* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::autocorrectionContextRange):

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


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

Reply via email to