mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Add missing visits in ResizeObserverEntry
Both m_device_pixel_content_box_size and m_content_rect were missing.
This commit is contained in:
Notes:
sideshowbarker
2024-07-16 22:22:13 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/08e62f883d Pull-request: https://github.com/SerenityOS/serenity/pull/23789
@@ -72,6 +72,9 @@ void ResizeObserverEntry::visit_edges(JS::Cell::Visitor& visitor)
|
||||
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_rect);
|
||||
}
|
||||
|
||||
static JS::NonnullGCPtr<JS::Object> to_js_array(JS::Realm& realm, Vector<JS::NonnullGCPtr<ResizeObserverSize>> const& sizes)
|
||||
|
||||
Reference in New Issue
Block a user