Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)]

git-svn-id: svn://10.0.0.236/trunk@243428 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2008-01-18 09:09:18 +00:00
parent 1fa7fae8e1
commit 04fe60d200
2 changed files with 4 additions and 4 deletions

View File

@@ -244,8 +244,8 @@ nsXPCSample_HookerUpper::CreateSampleObjectAtGlobalScope(const char *name, PRInt
return NS_ERROR_FAILURE;
// get the xpconnect native call context
nsCOMPtr<nsIXPCNativeCallContext> callContext;
xpc->GetCurrentNativeCallContext(getter_AddRefs(callContext));
nsAXPCNativeCallContext *callContext = nsnull;
xpc->GetCurrentNativeCallContext(&callContext);
if(!callContext)
return NS_ERROR_FAILURE;

View File

@@ -93,8 +93,8 @@ NS_IMETHODIMP nsXPCToolsCompiler::CompileFile(nsILocalFile *aFile, PRBool strict
return NS_ERROR_FAILURE;
// get the xpconnect native call context
nsCOMPtr<nsIXPCNativeCallContext> callContext;
xpc->GetCurrentNativeCallContext(getter_AddRefs(callContext));
nsAXPCNativeCallContext *callContext = nsnull;
xpc->GetCurrentNativeCallContext(&callContext);
if(!callContext)
return NS_ERROR_FAILURE;