mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Remove GlobalObject::{set_,}associated_realm()
This commit is contained in:
@@ -33,7 +33,6 @@ WebContentConsoleClient::WebContentConsoleClient(JS::Console& console, WeakPtr<J
|
||||
// It gets removed immediately after creating the interpreter in Document::interpreter().
|
||||
auto& eso = verify_cast<Web::HTML::EnvironmentSettingsObject>(*realm.host_defined());
|
||||
vm.push_execution_context(eso.realm_execution_context());
|
||||
console_global_object->set_associated_realm(realm);
|
||||
console_global_object->initialize_global_object(realm);
|
||||
vm.pop_execution_context();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user