Bug 241672 - FontCascade members m_useBackslashAsYenSymbol / m_enableKerning / m_requiresShaping don't need to be mutable
Summary: FontCascade members m_useBackslashAsYenSymbol / m_enableKerning / m_requiresS...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
Keywords: InRadar
Depends on:
Reported: 2022-06-15 20:07 PDT by Cameron McCormack (:heycam)
Modified: 2022-06-16 17:53 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2022-06-15 20:07:22 PDT
Thee fields are computed based on the FontDescription.  They're only mutable because we also update them in FontCascade::updateFonts(), but that function only updates the FontCascadeFonts pointer, not the FontDescription.  So there should be no need to update them at that time.
Comment 1 Cameron McCormack (:heycam) 2022-06-15 20:19:36 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1569
Comment 2 EWS 2022-06-16 17:52:16 PDT
Committed r295619 (251624@main): <https://commits.webkit.org/251624@main>

Reviewed commits have been landed. Closing PR #1569 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-16 17:53:16 PDT