summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-10-24 19:39:35 +0100
committerLinus Groh <mail@linusgroh.de>2022-10-24 22:58:51 +0100
commitb00d49bbf0354d1788f83ecaad01d52ab1184aff (patch)
tree5992671503fa5488fbeb00b325e28c2eac799b11 /Userland/Libraries/LibWeb/Bindings/MainThreadVM.h
parent7e7def71c19a526533c34d8da4cf4394a7a2004d (diff)
downloadserenity-b00d49bbf0354d1788f83ecaad01d52ab1184aff.zip
LibWeb: Teach MainThreadVM about module scripts
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/MainThreadVM.h')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/MainThreadVM.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h
index 406f50a06f..2e7b7a6de3 100644
--- a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h
+++ b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.h
@@ -50,7 +50,7 @@ struct WebEngineCustomJobCallbackData final : public JS::JobCallback::CustomData
OwnPtr<JS::ExecutionContext> active_script_context;
};
-HTML::ClassicScript* active_script();
+HTML::Script* active_script();
JS::VM& main_thread_vm();
void queue_mutation_observer_microtask(DOM::Document&);
NonnullOwnPtr<JS::ExecutionContext> create_a_new_javascript_realm(JS::VM&, Function<JS::Object*(JS::Realm&)> create_global_object, Function<JS::Object*(JS::Realm&)> create_global_this_value);