mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:37:34 +00:00
LibJS: Convert WeakRef::create() to NonnullGCPtr
This commit is contained in:
parent
3358ddfd0e
commit
cac71a6847
2 changed files with 6 additions and 6 deletions
|
@ -18,8 +18,8 @@ class WeakRef final
|
|||
JS_OBJECT(WeakRef, Object);
|
||||
|
||||
public:
|
||||
static WeakRef* create(Realm&, Object&);
|
||||
static WeakRef* create(Realm&, Symbol&);
|
||||
static NonnullGCPtr<WeakRef> create(Realm&, Object&);
|
||||
static NonnullGCPtr<WeakRef> create(Realm&, Symbol&);
|
||||
|
||||
virtual ~WeakRef() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue