mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Remove unused HTML::Worker::m_document pointer
This commit is contained in:
committed by
Alexander Kalenik
parent
b3b3a8602a
commit
2bbb5a455f
Notes:
github-actions[bot]
2025-12-20 11:47:46 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/2bbb5a455f6 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7200
@@ -24,7 +24,6 @@ Worker::Worker(String const& script_url, WorkerOptions const& options, DOM::Docu
|
||||
: DOM::EventTarget(document.realm())
|
||||
, m_script_url(script_url)
|
||||
, m_options(options)
|
||||
, m_document(&document)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -37,7 +36,6 @@ void Worker::initialize(JS::Realm& realm)
|
||||
void Worker::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_document);
|
||||
visitor.visit(m_outside_port);
|
||||
visitor.visit(m_agent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user