mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725768 - BBP for ObjectHolders, additional patch, mccr8
This commit is contained in:
parent
ea2d04cbc4
commit
cb88710c94
@ -4704,12 +4704,15 @@ nsGenericElement::CanSkip(nsINode* aNode)
|
||||
}
|
||||
}
|
||||
|
||||
if (!foundBlack) {
|
||||
if (!currentDoc || !foundBlack) {
|
||||
if (!gPurpleRoots) {
|
||||
gPurpleRoots = new nsAutoTArray<nsINode*, 1020>();
|
||||
}
|
||||
root->SetIsPurpleRoot(true);
|
||||
gPurpleRoots->AppendElement(root);
|
||||
}
|
||||
|
||||
if (!foundBlack) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user