mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067344 - content process crash in nsXPCWrappedJS::CanSkip(), r=mccr8
--HG-- extra : rebase_source : 687813170d30e3763de9917bccdb4c58df576d61
This commit is contained in:
parent
079a589e19
commit
ab178de936
@ -70,8 +70,11 @@ nsXPCWrappedJS::CanSkip()
|
||||
|
||||
// For non-root wrappers, check if the root wrapper will be
|
||||
// added to the CC graph.
|
||||
if (!IsRootWrapper())
|
||||
if (!IsRootWrapper()) {
|
||||
// mRoot points to null after unlinking.
|
||||
NS_ENSURE_TRUE(mRoot, false);
|
||||
return mRoot->CanSkip();
|
||||
}
|
||||
|
||||
// For the root wrapper, check if there is an aggregated
|
||||
// native object that will be added to the CC graph.
|
||||
|
Loading…
Reference in New Issue
Block a user