[Webkit-unassigned] [Bug 233749] New: move shouldAutoActivateFontIfNeeded knownFamilies cache to FontCache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 1 23:09:30 PST 2021


            Bug ID: 233749
           Summary: move shouldAutoActivateFontIfNeeded knownFamilies
                    cache to FontCache
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
                CC: bfulgham at webkit.org, mmaxfield at apple.com,
                    simon.fraser at apple.com, zalan at apple.com
            Blocks: 233488

With OffscreenCanvas, we can call shouldAutoActivateFontIfNeeded on a worker thread, and the knownFamilies HashSet is not thread safe. Also, the AtomStrings it stores are thread-specific. Move it to FontCache, so each thread has its own set.

Referenced Bugs:

[Bug 233488] make font code usable from multiple threads
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211202/86f2497e/attachment.htm>

More information about the webkit-unassigned mailing list