Skip to content
Snippets Groups Projects
Verified Commit bc47d72a authored by Jonathan Kew's avatar Jonathan Kew Committed by Pier Angelo Vendrame
Browse files

Bug 1890204 - Ensure font entry's unitsPerEm and font extents are initialized...

Bug 1890204 - Ensure font entry's unitsPerEm and font extents are initialized when gfxFont is created. r=gfx-reviewers,lsalzman

This means that by the time we potentially call GetFontExtents() when drawing,
the extents fields are guaranteed to have been been initialized, and there's no
risk of the (read-only) access here racing with setting them in UnitsPerEm().

Differential Revision: https://phabricator.services.mozilla.com/D206920
parent b2217ab2
Branches
Tags
1 merge request!1135Bug 43084: Rebased stable onto 115.15.0esr
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment