mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibJS: Convert WrappedFunction::create() to NonnullGCPtr
This commit is contained in:
parent
54ebf71da2
commit
b90f505409
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ class WrappedFunction final : public FunctionObject {
|
|||
JS_OBJECT(WrappedFunction, FunctionObject);
|
||||
|
||||
public:
|
||||
static ThrowCompletionOr<WrappedFunction*> create(Realm&, Realm& caller_realm, FunctionObject& target_function);
|
||||
static ThrowCompletionOr<NonnullGCPtr<WrappedFunction>> create(Realm&, Realm& caller_realm, FunctionObject& target_function);
|
||||
|
||||
virtual ~WrappedFunction() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue