mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 607695 - followup to fix bz comments
This commit is contained in:
parent
d34f057e79
commit
4e2a74333a
@ -610,8 +610,7 @@ XPCConvert::JSData2Native(XPCCallContext& ccx, void* d, jsval s,
|
||||
case nsXPTType::T_CHAR :
|
||||
{
|
||||
JSString* str = JS_ValueToString(cx, s);
|
||||
|
||||
if(str)
|
||||
if(!str)
|
||||
{
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
@ -535,7 +535,7 @@ static JSBool
|
||||
ThrowCallFailed(JSContext *cx, nsresult rv,
|
||||
const char *ifaceName, jsid memberId, const char *memberName)
|
||||
{
|
||||
/* Only one memberId or memberName should be given. */
|
||||
/* Only one of memberId or memberName should be given. */
|
||||
JS_ASSERT(JSID_IS_VOID(memberId) != !memberName);
|
||||
|
||||
// From XPCThrower::ThrowBadResult.
|
||||
|
Loading…
Reference in New Issue
Block a user