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:
parent
61bd9fef7d
commit
dfb7588d30
5 changed files with 0 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue