ladybird/Libraries/LibWeb/Bindings/SyntheticHostDefined.cpp
Shannon Booth 27f1e3676f LibWeb: Visit proper base class in SyntheticHostDefined
This was a goof of mine from when I added a common HostDefined base
class.
2024-11-30 11:55:11 +01:00

20 lines
466 B
C++

/*
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibJS/Heap/Cell.h>
#include <LibJS/Runtime/Realm.h>
#include <LibWeb/Bindings/SyntheticHostDefined.h>
#include <LibWeb/HTML/Scripting/Environments.h>
namespace Web::Bindings {
void SyntheticHostDefined::visit_edges(JS::Cell::Visitor& visitor)
{
HostDefined::visit_edges(visitor);
synthetic_realm_settings.visit_edges(visitor);
}
}