mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
LibJS: Convert PromiseReaction::create() to NonnullGCPtr
This commit is contained in:
parent
a4d85cd522
commit
716c8bdc9d
3 changed files with 8 additions and 8 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
Reject,
|
||||
};
|
||||
|
||||
static PromiseReaction* create(VM& vm, Type type, GCPtr<PromiseCapability> capability, Optional<JobCallback> handler);
|
||||
static NonnullGCPtr<PromiseReaction> create(VM& vm, Type type, GCPtr<PromiseCapability> capability, Optional<JobCallback> handler);
|
||||
|
||||
virtual ~PromiseReaction() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue