mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
LibJS+LibWeb: Add missing visit calls in visit_edges implementations
This commit is contained in:
parent
a3344cab63
commit
39d8c8d2a9
Notes:
sideshowbarker
2024-07-17 08:59:18 +09:00
Author: https://github.com/mattco98
Commit: 39d8c8d2a9
Pull-request: https://github.com/SerenityOS/serenity/pull/17979
Reviewed-by: https://github.com/awesomekling
8 changed files with 49 additions and 25 deletions
|
@ -40,9 +40,10 @@ JS::ThrowCompletionOr<void> Worker::initialize(JS::Realm& realm)
|
|||
void Worker::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_document.ptr());
|
||||
visitor.visit(m_implicit_port.ptr());
|
||||
visitor.visit(m_outside_port.ptr());
|
||||
visitor.visit(m_document);
|
||||
visitor.visit(m_inner_settings);
|
||||
visitor.visit(m_implicit_port);
|
||||
visitor.visit(m_outside_port);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/workers.html#dom-worker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue