mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
LibJS: Convert Realm::create() to NonnullGCPtr
This commit is contained in:
parent
e0818bf21e
commit
bfb8d83535
4 changed files with 6 additions and 7 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
virtual void visit_edges(Cell::Visitor&) { }
|
||||
};
|
||||
|
||||
static Realm* create(VM&);
|
||||
static NonnullGCPtr<Realm> create(VM&);
|
||||
static ThrowCompletionOr<NonnullOwnPtr<ExecutionContext>> initialize_host_defined_realm(VM&, Function<Object*(Realm&)> create_global_object, Function<Object*(Realm&)> create_global_this_value);
|
||||
|
||||
void set_global_object(Object* global_object, Object* this_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue