Bug 312309

Summary: ComplexTextController: Remove unused m_coreTextLines
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fantasai.bugs, vitor.roriz, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Vitor Roriz
Reported 2026-04-14 14:13:51 PDT
m_coreTextLines was originally needed to keep CTLine objects alive because ComplexTextRun stored raw borrowed pointers into CTRun internal memory. Since 184939@main (2017), ComplexTextRun copies all data into owned Vectors, making the lifetime extension unnecessary.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-14 14:13:59 PDT
Vitor Roriz
Comment 2 2026-04-14 14:20:57 PDT
EWS
Comment 3 2026-04-14 19:23:55 PDT
Committed 311254@main (78779ce33b02): <https://commits.webkit.org/311254@main> Reviewed commits have been landed. Closing PR #62766 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.