mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-01 11:57:19 +02:00
LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration
This commit is contained in:
@@ -68,12 +68,9 @@ void ResizeObserverEntry::visit_edges(JS::Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_target);
|
||||
for (auto& size : m_content_box_size)
|
||||
visitor.visit(size);
|
||||
for (auto& size : m_border_box_size)
|
||||
visitor.visit(size);
|
||||
for (auto& size : m_device_pixel_content_box_size)
|
||||
visitor.visit(size);
|
||||
visitor.visit(m_content_box_size);
|
||||
visitor.visit(m_border_box_size);
|
||||
visitor.visit(m_device_pixel_content_box_size);
|
||||
visitor.visit(m_content_rect);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user