Issue #2490 - Part 1: Make all CSS rules cycle-collected.

This commit is contained in:
Moonchild 2024-03-29 18:18:36 +01:00 committed by roytam1
commit d6ec56a4c4
11 changed files with 237 additions and 85 deletions

View file

@ -34,8 +34,9 @@ private:
ImportRule(const ImportRule& aCopy);
~ImportRule();
public:
NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(ImportRule, mozilla::css::Rule)
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(ImportRule, Rule)
NS_DECL_ISUPPORTS_INHERITED
virtual bool IsCCLeaf() const override;
DECL_STYLE_RULE_INHERIT