[webkit-changes] [WebKit/WebKit] c7afd1: Remove `includePartialGlyphs` argument from `offse...
Ahmad Saleem
noreply at github.com
Wed Jan 31 09:46:12 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7afd1bc35e2d071f74e61e392d22cac36246b60
https://github.com/WebKit/WebKit/commit/c7afd1bc35e2d071f74e61e392d22cac36246b60
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-01-31 (Wed, 31 Jan 2024)
Changed paths:
M Source/WebCore/rendering/svg/RenderSVGInlineText.cpp
M Source/WebCore/rendering/svg/SVGInlineTextBox.cpp
M Source/WebCore/rendering/svg/SVGInlineTextBox.h
Log Message:
-----------
Remove `includePartialGlyphs` argument from `offsetForPositionInFragment` since it is always true
https://bugs.webkit.org/show_bug.cgi?id=268438
Reviewed by Simon Fraser.
This patch removes 'includePartialGlyphs' as argument from function and just add directly since it is
always true. Accordingly, also update relevant call-site in 'positionForPoint'.
* Source/WebCore/rendering/svg/SVGInlineTextBox.cpp:
(SVGInlineTextBox::offsetForPositionInFragment):
* Source/WebCore/rendering/svg/SVGInlineTextBox.h:
* Source/WebCore/rendering/svg/RenderSVGInlineText.cpp:
(RenderSVGInlineText::positionForPoint):
Canonical link: https://commits.webkit.org/273833@main
More information about the webkit-changes
mailing list