1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

LibWeb: Visit CallbackType's stored EnvironmentSettingsObject reference

This commit is contained in:
Luke Wilde 2023-02-27 19:08:19 +00:00 committed by Andreas Kling
parent 8331d7cd82
commit fcd3b16d63

View file

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