Ladybird: Remove obsolete call to set_associated_realm()

This commit is contained in:
Andreas Kling 2022-08-27 13:52:59 +02:00 committed by Andrew Kaster
parent 80edd654fa
commit ced442f426
Notes: sideshowbarker 2024-07-17 02:46:15 +09:00

View File

@ -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();