LibWeb: Make CSSKeyframeRule.parentRule actually point to parent rule

This commit is contained in:
Andreas Kling 2024-06-14 17:09:41 +02:00 committed by Andreas Kling
commit 19fa630fa7
Notes: sideshowbarker 2024-07-17 11:29:41 +09:00
4 changed files with 14 additions and 7 deletions

View file

@ -37,13 +37,7 @@ public:
void set_name(String const& name) { m_name = name; }
private:
CSSKeyframesRule(JS::Realm& realm, FlyString name, JS::NonnullGCPtr<CSSRuleList> keyframes)
: CSSRule(realm)
, m_name(move(name))
, m_rules(move(keyframes))
{
}
CSSKeyframesRule(JS::Realm&, FlyString name, JS::NonnullGCPtr<CSSRuleList> keyframes);
virtual void visit_edges(Visitor&) override;
virtual void initialize(JS::Realm&) override;