Patch by jband to make this compile on Mac.
git-svn-id: svn://10.0.0.236/branches/XPCDOM_20010329_BRANCH@91753 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1680,9 +1680,8 @@ nsXPCComponents::AttachNewComponentsObject(XPCCallContext& ccx,
|
||||
if(!iface)
|
||||
return JS_FALSE;
|
||||
|
||||
nsCOMPtr<XPCWrappedNative> wrapper =
|
||||
dont_AddRef(XPCWrappedNative::
|
||||
GetNewOrUsed(ccx, cholder, aScope, iface, nsnull));
|
||||
nsCOMPtr<nsIXPConnectJSObjectHolder> wrapper(dont_AddRef(
|
||||
XPCWrappedNative::GetNewOrUsed(ccx, cholder, aScope, iface, nsnull)));
|
||||
if(!wrapper)
|
||||
return JS_FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user