LibWeb: Make CSSRule and CSSRuleList available to JavaScript :^)

This patch makes both of these classes inherit from RefCounted and
Bindings::Wrappable, plus some minimal rejigging to allow us to keep
using them internally while also exposing them to web content.
This commit is contained in:
Andreas Kling 2021-09-29 19:41:46 +02:00
commit 3a4565beec
Notes: sideshowbarker 2024-07-18 03:20:07 +09:00
15 changed files with 64 additions and 13 deletions

View file

@ -28,7 +28,7 @@ protected:
explicit CSSGroupingRule(NonnullRefPtrVector<CSSRule>&&);
private:
CSSRuleList m_rules;
NonnullRefPtr<CSSRuleList> m_rules;
};
}