ImageBufferCreationContext is used in wrong ImageBuffer::create factory function ImageBufferCreationContext is ad hoc amalgamation of all parameters accepted by any ImageBufferBackend, populated for the purpose of constructing a specific backend. ImageBuffer::create<Backend>(..., const ImageBufferCreationContext&) is the concrete function constructing a specific ImageBuffer type with a specific backend. ImageBuffer::create(...) is a polymorphic factory, which invokes the GraphicsClient, a polymorphic interface. It doesn't request a specific backend, rather the polymorphism selects the backend based on policy. This function shouldn't accept ImageBufferCreationContext, there's nothing that can be populated by the caller, except fields incorrectly added to ImageBufferCreationContext.
<rdar://problem/115098672>
Pull request: https://github.com/WebKit/WebKit/pull/17531
Committed 267792@main (61d979e4fad4): <https://commits.webkit.org/267792@main> Reviewed commits have been landed. Closing PR #17531 and removing active labels.