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

@@ -18,7 +18,7 @@ namespace Web::WebGL::Extensions {
GC_DEFINE_ALLOCATOR(WebGLCompressedTextureS3tc);
JS::ThrowCompletionOr<GC::Ptr<WebGLCompressedTextureS3tc>> WebGLCompressedTextureS3tc::create(JS::Realm& realm, GC::Ref<WebGLRenderingContextBase> context)
JS::ThrowCompletionOr<GC::Ref<JS::Object>> WebGLCompressedTextureS3tc::create(JS::Realm& realm, GC::Ref<WebGLRenderingContextBase> context)
{
return realm.create<WebGLCompressedTextureS3tc>(realm, context);
}