mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibJS: Convert BoundFunction::create() to NonnullGCPtr
This commit is contained in:
parent
b48fa8756f
commit
efbd8ee072
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ class BoundFunction final : public FunctionObject {
|
|||
JS_OBJECT(BoundFunction, FunctionObject);
|
||||
|
||||
public:
|
||||
static ThrowCompletionOr<BoundFunction*> create(Realm&, FunctionObject& target_function, Value bound_this, Vector<Value> bound_arguments);
|
||||
static ThrowCompletionOr<NonnullGCPtr<BoundFunction>> create(Realm&, FunctionObject& target_function, Value bound_this, Vector<Value> bound_arguments);
|
||||
|
||||
virtual ~BoundFunction() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue