зеркало из https://github.com/mozilla/gecko-dev.git
Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)]
This commit is contained in:
Родитель
cd2af3de01
Коммит
e2f4447ded
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче