mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 01:38:52 +00:00
LibJS+LibWeb: Remove last uses of GlobalObject::associated_realm()
This commit is contained in:
parent
50428ea8d2
commit
61bd9fef7d
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/linusg
Commit: 61bd9fef7d
Pull-request: https://github.com/SerenityOS/serenity/pull/15035
Reviewed-by: https://github.com/davidot
3 changed files with 4 additions and 5 deletions
|
@ -61,7 +61,7 @@ ECMAScriptFunctionObject::ECMAScriptFunctionObject(FlyString name, String source
|
|||
, m_private_environment(private_environment)
|
||||
, m_formal_parameters(move(formal_parameters))
|
||||
, m_ecmascript_code(ecmascript_code)
|
||||
, m_realm(global_object().associated_realm())
|
||||
, m_realm(&prototype.shape().realm())
|
||||
, m_source_text(move(source_text))
|
||||
, m_class_field_initializer_name(move(class_field_initializer_name))
|
||||
, m_strict(strict)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue