LibWeb: Ensure all extension factory functions have the same signature

This allows the next commit to have a factory function field in the
extension info struct.
This commit is contained in:
Undefine
2026-03-05 20:47:29 +01:00
committed by Jelle Raaijmakers
parent b4dbb0380d
commit 72d5fe7faf
Notes: github-actions[bot] 2026-03-11 19:21:28 +00:00
25 changed files with 36 additions and 36 deletions

View File

@@ -17,7 +17,7 @@ class WebGLDrawBuffers : public Bindings::PlatformObject {
GC_DECLARE_ALLOCATOR(WebGLDrawBuffers);
public:
static JS::ThrowCompletionOr<GC::Ptr<WebGLDrawBuffers>> create(JS::Realm&, GC::Ref<WebGLRenderingContextBase>);
static JS::ThrowCompletionOr<GC::Ref<JS::Object>> create(JS::Realm&, GC::Ref<WebGLRenderingContextBase>);
void draw_buffers_webgl(Vector<GLenum> buffers);