mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
bug 382744 - Correct backwards assertion check in XPCNativeScriptableInfo. Patch by Manish Singh <manish@flock.com>, r=dbaron, sr=shaver
This commit is contained in:
parent
0cc2fca501
commit
3932303027
@ -1305,8 +1305,8 @@ XPCNativeScriptableInfo::Construct(XPCCallContext& ccx,
|
||||
JSBool isGlobal,
|
||||
const XPCNativeScriptableCreateInfo* sci)
|
||||
{
|
||||
NS_ASSERTION(sci->GetCallback(), "bad param");
|
||||
NS_ASSERTION(sci, "bad param");
|
||||
NS_ASSERTION(sci->GetCallback(), "bad param");
|
||||
|
||||
XPCNativeScriptableInfo* newObj =
|
||||
new XPCNativeScriptableInfo(sci->GetCallback());
|
||||
|
Loading…
x
Reference in New Issue
Block a user