mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration
This commit is contained in:
@@ -35,8 +35,7 @@ Location::~Location() = default;
|
||||
void Location::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
for (auto& property : m_default_properties)
|
||||
visitor.visit(property);
|
||||
visitor.visit(m_default_properties);
|
||||
}
|
||||
|
||||
void Location::initialize(JS::Realm& realm)
|
||||
|
||||
Reference in New Issue
Block a user