mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS+LibWeb: Remove last uses of GlobalObject::associated_realm()
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 08:36:27 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/61bd9fef7d Pull-request: https://github.com/SerenityOS/serenity/pull/15035 Reviewed-by: https://github.com/davidot
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user