diff options
author | Andreas Kling <kling@serenityos.org> | 2022-08-07 13:51:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-06 00:27:09 +0200 |
commit | 5d6cb9cbdbb1ac309d68c41929ab84f73f68753c (patch) | |
tree | fccbd3393f49b9d820b55bc00ebe63050ecf8d4d /Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp | |
parent | 5366924f110128cf0846732bb7747ae816ebaab8 (diff) | |
download | serenity-5d6cb9cbdbb1ac309d68c41929ab84f73f68753c.zip |
LibWeb: Make CSSRuleList GC-allocated
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp index 3d12f3feba..dd0e33c731 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp +++ b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.cpp @@ -20,7 +20,7 @@ CSSStyleSheet* CSSStyleSheet::create(Bindings::WindowObject& window_object, Nonn CSSStyleSheet::CSSStyleSheet(Bindings::WindowObject& window_object, NonnullRefPtrVector<CSSRule> rules, Optional<AK::URL> location) : StyleSheet(window_object) - , m_rules(CSSRuleList::create(move(rules))) + , m_rules(CSSRuleList::create(window_object, move(rules))) { set_prototype(&window_object.ensure_web_prototype<Bindings::CSSStyleSheetPrototype>("CSSStyleSheet")); |