From 6139d85dae3e64c7df212a5ca29ef2a12fac79ad Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Sun, 2 Nov 2003 02:31:53 +0000 Subject: [PATCH] Work around bustage. Temporary fix. b=223041 --- caps/src/nsPrincipal.cpp | 2 +- caps/src/nsSystemPrincipal.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/caps/src/nsPrincipal.cpp b/caps/src/nsPrincipal.cpp index f0a0f67a0876..0e06a14b0568 100755 --- a/caps/src/nsPrincipal.cpp +++ b/caps/src/nsPrincipal.cpp @@ -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; } diff --git a/caps/src/nsSystemPrincipal.cpp b/caps/src/nsSystemPrincipal.cpp index e34c2288e53c..85284ee4d185 100644 --- a/caps/src/nsSystemPrincipal.cpp +++ b/caps/src/nsSystemPrincipal.cpp @@ -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; }