Closed Bug 1766875 Opened 3 years ago Closed 3 years ago

The cmap cache in gfxFT2FontEntryBase needs to be guarded by a lock

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

Attachments

(1 file)

This was overlooked in bug 1763414, but needs locking added before we start using fonts on worker threads.

While I'm here, I plan to move the code that actually uses the cache from gfxFT2FontBase into the gfxFT2FontEntryBase class, as that's where the cache (and associated lock) lives. This simplifies the relationship between the font and fontentry classes here.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c5bab7209877 Guard access to the mCmapCache in gfxFT2FontEntryBase. r=lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: