mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Remove unused prototype parameter for NativeFunction::create()
This commit is contained in:
parent
b2779ad9f7
commit
dbf6f7944e
Notes:
github-actions[bot]
2025-04-09 05:23:07 +00:00
Author: https://github.com/awesomekling
Commit: dbf6f7944e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4289
Reviewed-by: https://github.com/Hendiadyoin1
3 changed files with 6 additions and 7 deletions
|
@ -21,7 +21,7 @@ class NativeFunction : public FunctionObject {
|
|||
GC_DECLARE_ALLOCATOR(NativeFunction);
|
||||
|
||||
public:
|
||||
static GC::Ref<NativeFunction> create(Realm&, ESCAPING Function<ThrowCompletionOr<Value>(VM&)> behaviour, i32 length, PropertyKey const& name = FlyString {}, Optional<Realm*> = {}, Optional<Object*> prototype = {}, Optional<StringView> const& prefix = {});
|
||||
static GC::Ref<NativeFunction> create(Realm&, ESCAPING Function<ThrowCompletionOr<Value>(VM&)> behaviour, i32 length, PropertyKey const& name = FlyString {}, Optional<Realm*> = {}, Optional<StringView> const& prefix = {});
|
||||
static GC::Ref<NativeFunction> create(Realm&, FlyString const& name, ESCAPING Function<ThrowCompletionOr<Value>(VM&)>);
|
||||
|
||||
virtual ~NativeFunction() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue