diff options
author | Andreas Kling <kling@serenityos.org> | 2022-09-03 15:44:06 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-06 00:27:09 +0200 |
commit | 36085676d24bb9c837747f59224637d75b4f324f (patch) | |
tree | 798e36f58d54bed9828ec4258b733d04661ab490 /Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp | |
parent | a835f313f7df7900742176b145143b5c93931915 (diff) | |
download | serenity-36085676d24bb9c837747f59224637d75b4f324f.zip |
LibWeb: Make CSSImportList mark its document
We don't need to use a WeakPtr here anymore, since the garbage collector
will resolve any cycles.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp b/Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp index bb6ee1eb85..378878253c 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp +++ b/Userland/Libraries/LibWeb/CSS/CSSImportRule.cpp @@ -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); } |