mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibWeb: Make CSSImportList mark its document
We don't need to use a WeakPtr here anymore, since the garbage collector will resolve any cycles.
This commit is contained in:
parent
a835f313f7
commit
36085676d2
2 changed files with 3 additions and 2 deletions
|
@ -43,6 +43,7 @@ CSSImportRule::CSSImportRule(AK::URL url, DOM::Document& document)
|
|||
void CSSImportRule::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(m_document);
|
||||
visitor.visit(m_style_sheet);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue