mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Rename current_global_object to current_principal_global_object
Again, following a rename as part of the introduction of shadow realms inducing a bunch of mechanical changes.
This commit is contained in:
committed by
Andrew Kaster
parent
0c2400641e
commit
84dc83e0e0
@@ -319,7 +319,7 @@ EnvironmentSettingsObject& current_principal_settings_object()
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object
|
||||
JS::Object& current_global_object()
|
||||
JS::Object& current_principal_global_object()
|
||||
{
|
||||
auto& event_loop = HTML::main_thread_event_loop();
|
||||
auto& vm = event_loop.vm();
|
||||
|
||||
Reference in New Issue
Block a user