mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
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:
committed by
Jelle Raaijmakers
parent
b4dbb0380d
commit
72d5fe7faf
Notes:
github-actions[bot]
2026-03-11 19:21:28 +00:00
Author: https://github.com/cqundefine Commit: https://github.com/LadybirdBrowser/ladybird/commit/72d5fe7faf0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8285 Reviewed-by: https://github.com/gmta ✅
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user