mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +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
|
@ -183,17 +183,6 @@ void GlobalObject::initialize_global_object(Realm& realm)
|
|||
|
||||
GlobalObject::~GlobalObject() = default;
|
||||
|
||||
Realm* GlobalObject::associated_realm()
|
||||
{
|
||||
return m_associated_realm;
|
||||
}
|
||||
|
||||
void GlobalObject::set_associated_realm(Realm& realm)
|
||||
{
|
||||
VERIFY(&realm == &shape().realm());
|
||||
m_associated_realm = &realm;
|
||||
}
|
||||
|
||||
JS_DEFINE_NATIVE_FUNCTION(GlobalObject::gc)
|
||||
{
|
||||
#ifdef __serenity__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue