diff options
author | Luke Wilde <lukew@serenityos.org> | 2023-02-27 19:08:19 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-27 20:49:00 +0100 |
commit | fcd3b16d6390531114c1445012a0d05877c5097c (patch) | |
tree | 6b3962d6d3e2d453f27a1956ea0559b427466462 /Userland | |
parent | 8331d7cd82b1af5c443c691cbdf89e3404cc2698 (diff) | |
download | serenity-fcd3b16d6390531114c1445012a0d05877c5097c.zip |
LibWeb: Visit CallbackType's stored EnvironmentSettingsObject reference
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/WebIDL/CallbackType.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/WebIDL/CallbackType.cpp b/Userland/Libraries/LibWeb/WebIDL/CallbackType.cpp index bcd5776de6..92fcd32f94 100644 --- a/Userland/Libraries/LibWeb/WebIDL/CallbackType.cpp +++ b/Userland/Libraries/LibWeb/WebIDL/CallbackType.cpp @@ -5,6 +5,7 @@ */ #include <LibJS/Runtime/Object.h> +#include <LibWeb/HTML/Scripting/Environments.h> #include <LibWeb/WebIDL/CallbackType.h> namespace Web::WebIDL { @@ -20,6 +21,7 @@ void CallbackType::visit_edges(Cell::Visitor& visitor) { Cell::visit_edges(visitor); visitor.visit(&callback); + visitor.visit(callback_context); } } |