Skip to content
Snippets Groups Projects
Commit eb2548de 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 bc76d5ed
Branches
Tags
1 merge request!126MB 310: Rebased MB 13.0 onto 115.12.0esr
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment