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

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