summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-27 13:52:59 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commitced442f426c75ecb569c015ba7e816b481febc09 (patch)
treed18c5ebe016ff9454ac9a6cc5c0eedce8aff8af5
parent80edd654fa18acd7c7c8133e9bd10dda55c4107c (diff)
downloadserenity-ced442f426c75ecb569c015ba7e816b481febc09.zip
Ladybird: Remove obsolete call to set_associated_realm()
-rw-r--r--Ladybird/ConsoleClient.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Ladybird/ConsoleClient.cpp b/Ladybird/ConsoleClient.cpp
index 1a72de5fdc..d981c82286 100644
--- a/Ladybird/ConsoleClient.cpp
+++ b/Ladybird/ConsoleClient.cpp
@@ -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();