Revert "[gfx] Guard against possible race via gfxFontEntry::GetFontTable."

This reverts commit a1cf966815240aef59e33c49c9496e3516b1fdd7.
This commit is contained in:
Moonchild 2025-08-27 15:53:56 +02:00 • committed by roytam1
commit 060e2965b8
2 changed files with 5 additions and 10 deletions

View file

@ -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.
// nullptr will be returned. Also returns nullptr on OOM.
hb_blob_t *ShareFontTableAndGetBlob(uint32_t aTag,
nsTArray<uint8_t>* aTable);