[gfx] Clarify comments.

There may be other situations where putting a font entry in the cache
table may fail that are perfectly valid.
This commit is contained in:
Moonchild 2025-08-27 17:20:22 +02:00 • committed by roytam1
commit 6e19656e11
2 changed files with 4 additions and 2 deletions

View file

@ -265,7 +265,8 @@ 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. Also returns nullptr on OOM or when there are
// other issues storing the entry in the cache table.
hb_blob_t *ShareFontTableAndGetBlob(uint32_t aTag,
nsTArray<uint8_t>* aTable);