[Webkit-unassigned] [Bug 233971] New: add assertions to check Font objects are not used on a single thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 7 21:18:19 PST 2021


            Bug ID: 233971
           Summary: add assertions to check Font objects are not used on a
                    single thread
           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, clord at igalia.com,
                    mmaxfield at apple.com, simon.fraser at apple.com,
                    zalan at apple.com
            Blocks: 233488

As part of implementing OffscreenCanvas, bug 202793 changed FontCache from a singleton to have an instance on the main thread and one on every worker thread.  In this model, Font objects are also created and used on a single thread.  I think we should add some assertions that Font objects are touched only on the thread that created them.

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/20211208/3941cf85/attachment-0001.htm>

More information about the webkit-unassigned mailing list