mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibJS: Convert WeakMap::create() to NonnullGCPtr
This commit is contained in:
parent
37c85fa07e
commit
3358ddfd0e
Notes:
sideshowbarker
2024-07-17 22:09:47 +09:00
Author: https://github.com/linusg
Commit: 3358ddfd0e
Pull-request: https://github.com/SerenityOS/serenity/pull/16479
Reviewed-by: https://github.com/davidot ✅
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ class WeakMap final
|
|||
JS_OBJECT(WeakMap, Object);
|
||||
|
||||
public:
|
||||
static WeakMap* create(Realm&);
|
||||
static NonnullGCPtr<WeakMap> create(Realm&);
|
||||
|
||||
virtual ~WeakMap() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue