fix that shaver needs for wrapped JS object doing QI semantics
git-svn-id: svn://10.0.0.236/trunk@46144 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -610,8 +610,13 @@ pre_call_clean_up:
|
||||
uint8 arg_num = param.GetInterfaceIsArgNumber();
|
||||
const nsXPTParamInfo& param = info->GetParam(arg_num);
|
||||
const nsXPTType& type = param.GetType();
|
||||
if(!type.IsPointer() || type.TagPart() != nsXPTType::T_IID ||
|
||||
!(conditional_iid = *((nsID**)params[arg_num].val.p)))
|
||||
if(!type.IsPointer() || type.TagPart() != nsXPTType::T_IID)
|
||||
break;
|
||||
if(param.IsOut())
|
||||
conditional_iid = *((nsID**)params[arg_num].val.p);
|
||||
else
|
||||
conditional_iid = (nsID*) params[arg_num].val.p;
|
||||
if(!conditional_iid)
|
||||
break;
|
||||
}
|
||||
else if(type.IsPointer() && !param.IsShared())
|
||||
|
||||
Reference in New Issue
Block a user