mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1097850 - ChildFinder::NoteNativeChild() should call CanSkip(). r=smaug
This commit is contained in:
parent
49eb457686
commit
04a954071f
@ -2449,7 +2449,11 @@ NS_IMETHODIMP_(void)
|
|||||||
ChildFinder::NoteNativeChild(void* aChild,
|
ChildFinder::NoteNativeChild(void* aChild,
|
||||||
nsCycleCollectionParticipant* aHelper)
|
nsCycleCollectionParticipant* aHelper)
|
||||||
{
|
{
|
||||||
if (aChild) {
|
if (!aChild) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
MOZ_ASSERT(aHelper, "Native child must have a participant");
|
||||||
|
if (!aHelper->CanSkip(aChild, true)) {
|
||||||
mMayHaveChild = true;
|
mMayHaveChild = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user