mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 718340 - Don't traverse black windows, r=mccr8,jst
This commit is contained in:
parent
d798b882da
commit
369f08480b
@ -1404,8 +1404,9 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(nsGlobalWindow)
|
||||
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsGlobalWindow)
|
||||
if (tmp->mDoc && nsCCUncollectableMarker::InGeneration(
|
||||
cb, tmp->mDoc->GetMarkedCCGeneration())) {
|
||||
if ((tmp->mDoc && nsCCUncollectableMarker::InGeneration(
|
||||
cb, tmp->mDoc->GetMarkedCCGeneration())) ||
|
||||
(nsCCUncollectableMarker::sGeneration && tmp->IsBlack())) {
|
||||
return NS_SUCCESS_INTERRUPTED_TRAVERSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user