mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +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
|
@ -42,7 +42,7 @@ ThrowCompletionOr<Object*> ShadowRealmConstructor::construct(FunctionObject& new
|
|||
auto& vm = this->vm();
|
||||
|
||||
// 3. Let realmRec be CreateRealm().
|
||||
auto* realm = Realm::create(vm);
|
||||
auto realm = Realm::create(vm);
|
||||
|
||||
// 5. Let context be a new execution context.
|
||||
auto context = ExecutionContext { vm.heap() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue