Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 78779ce33b0276481f6bf8dbb56c0bdf7154feeb
https://github.com/WebKit/WebKit/commit/78779ce33b0276481f6bf8dbb56c0bdf7154feeb
Author: Vitor Roriz <[email protected]>
Date: 2026-04-14 (Tue, 14 Apr 2026)
Changed paths:
M Source/WebCore/platform/graphics/ComplexTextController.h
M Source/WebCore/platform/graphics/coretext/ComplexTextControllerCoreText.mm
Log Message:
-----------
ComplexTextController: Remove unused m_coreTextLines
https://bugs.webkit.org/show_bug.cgi?id=312309
rdar://174774224
Reviewed by Brent Fulgham.
m_coreTextLines was originally needed to keep CTLine objects alive
because ComplexTextRun stored raw borrowed pointers into CTRun
internal memory. Since https://commits.webkit.org/184939@main (2017),
ComplexTextRun copies all data into owned Vectors during construction,
making the lifetime extension unnecessary.
* Source/WebCore/platform/graphics/ComplexTextController.h:
* Source/WebCore/platform/graphics/coretext/ComplexTextControllerCoreText.mm:
(WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
Canonical link: https://commits.webkit.org/311254@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications