mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1011391 - Clear rule cascades in nsCSSStyleSheet's Unlink. r=bz
This commit is contained in:
parent
45ab6ecac4
commit
7df9e4e10a
@ -1149,6 +1149,7 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsCSSStyleSheet)
|
|||||||
tmp->DropRuleCollection();
|
tmp->DropRuleCollection();
|
||||||
tmp->UnlinkInner();
|
tmp->UnlinkInner();
|
||||||
tmp->mScopeElement = nullptr;
|
tmp->mScopeElement = nullptr;
|
||||||
|
tmp->ClearRuleCascades();
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
|
NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsCSSStyleSheet)
|
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsCSSStyleSheet)
|
||||||
|
Loading…
Reference in New Issue
Block a user