mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00: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:
parent
c409a7cdfd
commit
08e62f883d
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
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue