mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 10:57:34 +09:00
[gfx] Guard against possible race via gfxFontEntry::GetFontTable.
This commit is contained in:
parent
6d47d819fa
commit
7cadc57d49
2 changed files with 10 additions and 5 deletions
|
|
@ -265,7 +265,7 @@ public:
|
|||
// unregisters the table from the font entry.
|
||||
//
|
||||
// Pass nullptr for aBuffer to indicate that the table is not present and
|
||||
// nullptr will be returned. Also returns nullptr on OOM.
|
||||
// nullptr will be returned.
|
||||
hb_blob_t *ShareFontTableAndGetBlob(uint32_t aTag,
|
||||
nsTArray<uint8_t>* aTable);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue