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:
peterv%netscape.com
2001-04-09 14:46:59 +00:00
parent bfaa8f9f78
commit 0daebbe3f0

View File

@@ -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;