mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
Fix DEBUG_CC build. NPOTB.
This commit is contained in:
parent
223e74556b
commit
9c4ef0c065
@ -741,8 +741,8 @@ nsXPConnect::Traverse(void *p, nsCycleCollectionTraversalCallback &cb)
|
||||
JSClass *clazz = OBJ_GET_CLASS(cx, obj);
|
||||
if(XPCNativeWrapper::IsNativeWrapperClass(clazz))
|
||||
{
|
||||
XPCWrappedNative* wn = XPCNativeWrapper::GetWrappedNative(obj);
|
||||
if(wn)
|
||||
XPCWrappedNative* wn;
|
||||
if(XPCNativeWrapper::GetWrappedNative(cx, obj, &wn) && wn)
|
||||
{
|
||||
XPCNativeScriptableInfo* si = wn->GetScriptableInfo();
|
||||
if(si)
|
||||
|
Loading…
Reference in New Issue
Block a user