Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b622d23c65b0ac89ff5136dd0c70d416d00150d
https://github.com/WebKit/WebKit/commit/8b622d23c65b0ac89ff5136dd0c70d416d00150d
Author: Cole Carley <[email protected]>
Date: 2025-12-18 (Thu, 18 Dec 2025)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp
Log Message:
-----------
clean up WebFoundTextRangeController
https://bugs.webkit.org/show_bug.cgi?id=304348
rdar://166726139
Reviewed by Aditya Keerthi.
Some of the code in findTextRangesForStringMatches was difficult to read.
I went through and modernized and cleaned up a bit.
* Source/WebKit/WebProcess/WebPage/WebFoundTextRangeController.cpp:
(WebKit::createWebFoundTextRange):
(WebKit::canConvertToWebFoundTextRange):
(WebKit::findPdfMatchesInFrame):
(WebKit::WebFoundTextRangeController::findTextRangesForStringMatches):
(WebKit::WebFoundTextRangeController::rectsForTextMatchesInRect):
Canonical link: https://commits.webkit.org/304713@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications