1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00

LibJS: Remove GlobalObject::{set_,}associated_realm()

This commit is contained in:
Linus Groh 2022-08-27 01:07:00 +01:00
parent 61bd9fef7d
commit dfb7588d30
5 changed files with 0 additions and 20 deletions

View file

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