зеркало из https://github.com/mozilla/gecko-dev.git
Work around bustage. Temporary fix. b=223041
This commit is contained in:
Родитель
533338e09c
Коммит
6139d85dae
|
@ -149,7 +149,7 @@ nsPrincipal::GetJsPrincipals(JSPrincipals **jsprin)
|
|||
|
||||
// JSPRINCIPALS_HOLD does not use its first argument.
|
||||
// Just use a dummy cx to save the codesize.
|
||||
JSPRINCIPALS_HOLD(cx, *jsprin);
|
||||
JSPRINCIPALS_HOLD(nsnull, *jsprin);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -233,7 +233,7 @@ nsSystemPrincipal::GetJsPrincipals(JSPrincipals **jsprin)
|
|||
NS_PRECONDITION(mJSPrincipals.nsIPrincipalPtr, "mJSPrincipals is uninitalized!");
|
||||
|
||||
*jsprin = &mJSPrincipals;
|
||||
JSPRINCIPALS_HOLD(cx, *jsprin);
|
||||
JSPRINCIPALS_HOLD(nsnull, *jsprin);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче