mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 17:29:01 +00:00
LibJS: Convert Object::create() to NonnullGCPtr
This commit is contained in:
parent
f990095728
commit
ddc6e139a6
Notes:
sideshowbarker
2024-07-17 03:17:23 +09:00
Author: https://github.com/linusg
Commit: ddc6e139a6
Pull-request: https://github.com/SerenityOS/serenity/pull/16479
Reviewed-by: https://github.com/davidot ✅
45 changed files with 80 additions and 80 deletions
|
@ -44,7 +44,7 @@ class Object : public Cell {
|
|||
JS_CELL(Object, Cell);
|
||||
|
||||
public:
|
||||
static Object* create(Realm&, Object* prototype);
|
||||
static NonnullGCPtr<Object> create(Realm&, Object* prototype);
|
||||
|
||||
virtual void initialize(Realm&) override;
|
||||
virtual ~Object();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue