mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 14:42:50 +02:00
LibJS: Convert Object::construct() to NonnullGCPtr
This commit is contained in:
@@ -18,7 +18,7 @@ public:
|
||||
virtual ~AsyncFunctionConstructor() override = default;
|
||||
|
||||
virtual ThrowCompletionOr<Value> call() override;
|
||||
virtual ThrowCompletionOr<Object*> construct(FunctionObject& new_target) override;
|
||||
virtual ThrowCompletionOr<NonnullGCPtr<Object>> construct(FunctionObject& new_target) override;
|
||||
|
||||
private:
|
||||
explicit AsyncFunctionConstructor(Realm&);
|
||||
|
||||
Reference in New Issue
Block a user