Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df44236386d7a6a96607f2571089e2a63cdf5ca6
https://github.com/WebKit/WebKit/commit/df44236386d7a6a96607f2571089e2a63cdf5ca6
Author: Taher Ali <[email protected]>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M Source/WebCore/rendering/svg/SVGTextLayoutEngineBaseline.cpp
M Source/WebCore/rendering/svg/SVGTextLayoutEngineBaseline.h
Log Message:
-----------
Make SVGTextMetrics parameter const in calculateGlyphAdvanceAndOrientation
https://bugs.webkit.org/show_bug.cgi?id=307384
rdar://170008314
Reviewed by Vitor Roriz.
The metrics parameter is only read (width() and height() accessors), never
modified.
We make it const in this PR.
* Source/WebCore/rendering/svg/SVGTextLayoutEngineBaseline.cpp:
(WebCore::SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation
const):
* Source/WebCore/rendering/svg/SVGTextLayoutEngineBaseline.h:
Canonical link: https://commits.webkit.org/307137@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications