mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1069065 - Cycle collect ImportRule. r=bzbarsky
This commit is contained in:
parent
d878a27c92
commit
9fdb2d1e99
@ -34,7 +34,8 @@ private:
|
||||
ImportRule(const ImportRule& aCopy);
|
||||
~ImportRule();
|
||||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(ImportRule, nsIStyleRule)
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
||||
DECL_STYLE_RULE_INHERIT
|
||||
|
||||
|
@ -370,11 +370,13 @@ ImportRule::~ImportRule()
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMPL_ADDREF(ImportRule)
|
||||
NS_IMPL_RELEASE(ImportRule)
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(ImportRule)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(ImportRule)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION(ImportRule, mMedia, mChildSheet)
|
||||
|
||||
// QueryInterface implementation for ImportRule
|
||||
NS_INTERFACE_MAP_BEGIN(ImportRule)
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(ImportRule)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIStyleRule)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMCSSRule)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMCSSImportRule)
|
||||
|
Loading…
Reference in New Issue
Block a user