mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:57:44 +00:00
LibJS+LibWeb: Remove last uses of GlobalObject::associated_realm()
This commit is contained in:
parent
50428ea8d2
commit
61bd9fef7d
3 changed files with 4 additions and 5 deletions
|
@ -1081,8 +1081,7 @@ JS::Realm& Document::realm()
|
|||
{
|
||||
VERIFY(m_window);
|
||||
VERIFY(m_window->wrapper());
|
||||
VERIFY(m_window->wrapper()->associated_realm());
|
||||
return *m_window->wrapper()->associated_realm();
|
||||
return m_window->wrapper()->shape().realm();
|
||||
}
|
||||
|
||||
JS::Interpreter& Document::interpreter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue