summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h
index 3ebe1877ce..6ce28b1735 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h
+++ b/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.h
@@ -18,7 +18,9 @@ namespace Web::CSS {
class CSSImportRule;
-class CSSStyleSheet final : public StyleSheet {
+class CSSStyleSheet final
+ : public StyleSheet
+ , public Weakable<CSSStyleSheet> {
public:
using WrapperType = Bindings::CSSStyleSheetWrapper;