1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

LibJS: Remove GlobalObject::{set_,}associated_realm()

This commit is contained in:
Linus Groh 2022-08-27 01:07:00 +01:00
parent 61bd9fef7d
commit dfb7588d30
5 changed files with 0 additions and 20 deletions

View file

@ -96,9 +96,6 @@ void Realm::set_global_object(GlobalObject* global_object, GlobalObject* this_va
// 2. Assert: Type(globalObj) is Object.
VERIFY(global_object);
// Non-standard
global_object->set_associated_realm(*this);
// 3. If thisValue is undefined, set thisValue to globalObj.
if (this_value == nullptr)
this_value = global_object;