mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 01:59:14 +03:00
Ladybird: Remove obsolete call to set_associated_realm()
This commit is contained in:
parent
80edd654fa
commit
ced442f426
Notes:
sideshowbarker
2024-07-17 02:46:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/ced442f426 Pull-request: https://github.com/SerenityOS/serenity/pull/16583 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg
@ -35,7 +35,6 @@ ConsoleClient::ConsoleClient(JS::Console& console, WeakPtr<JS::Interpreter> inte
|
||||
// It gets removed immediately after creating the interpreter in Document::interpreter().
|
||||
auto& eso = verify_cast<Web::HTML::EnvironmentSettingsObject>(*m_interpreter->realm().host_defined());
|
||||
vm.push_execution_context(eso.realm_execution_context());
|
||||
console_global_object->set_associated_realm(m_interpreter->realm());
|
||||
console_global_object->initialize_global_object(realm);
|
||||
vm.pop_execution_context();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user