Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
This commit is contained in:
@@ -52,9 +52,12 @@ public:
|
||||
|
||||
// aScopeElement must be non-null iff aSheetType is
|
||||
// nsStyleSet::eScopedDocSheet.
|
||||
// aPreviousCSSRuleProcessor is the rule processor (if any) that this
|
||||
// one is replacing.
|
||||
nsCSSRuleProcessor(const sheet_array_type& aSheets,
|
||||
uint8_t aSheetType,
|
||||
mozilla::dom::Element* aScopeElement);
|
||||
mozilla::dom::Element* aScopeElement,
|
||||
nsCSSRuleProcessor* aPreviousCSSRuleProcessor);
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS(nsCSSRuleProcessor)
|
||||
|
||||
Reference in New Issue
Block a user