Bug 260779

Summary: WorkQueue should inherit from SerialFunctionDispatcher
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: Web Template FrameworkAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261080

Description Jean-Yves Avenard [:jya] 2023-08-27 15:58:33 PDT
Right now `WorkQueue` and `ConcurrentWorkQueue` both inherit from `WorkQueueBase` which inherits from `FunctionDispatcher`.

But like a `RunLoop` or a `WorkerOrWorkletThread`, a `WorkQueue` is a `SerialFunctionDispatcher`. As such it should inherit from that instead.
Comment 1 Radar WebKit Bug Importer 2023-08-27 15:58:49 PDT
<rdar://problem/114535523>
Comment 2 Jean-Yves Avenard [:jya] 2023-08-31 18:15:36 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17318
Comment 3 EWS 2023-09-05 03:52:56 PDT
Committed 267623@main (4cc06b4be14a): <https://commits.webkit.org/267623@main>

Reviewed commits have been landed. Closing PR #17318 and removing active labels.