From 55a6daf5164676056cf5a59f094080d58b7ef3e5 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Fri, 22 Jul 2005 20:49:12 +0000 Subject: [PATCH] Comment-only fixes I forgot to make. Bug 240661. git-svn-id: svn://10.0.0.236/trunk@176464 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/caps/include/nsScriptSecurityManager.h | 2 +- mozilla/caps/src/nsPrincipal.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/caps/include/nsScriptSecurityManager.h b/mozilla/caps/include/nsScriptSecurityManager.h index 01069d6f997..544970c7751 100644 --- a/mozilla/caps/include/nsScriptSecurityManager.h +++ b/mozilla/caps/include/nsScriptSecurityManager.h @@ -430,7 +430,7 @@ private: CreateCodebasePrincipal(nsIURI* aURI, nsIPrincipal** result); // This is just like the API method, but it doesn't check that the subject - // name is nonempty or aCertificate is non-null, and it doesn't change the + // name is non-empty or aCertificate is non-null, and it doesn't change the // certificate in the table (if any) in any way if aModifyTable is false. nsresult DoGetCertificatePrincipal(const nsACString& aCertFingerprint, diff --git a/mozilla/caps/src/nsPrincipal.cpp b/mozilla/caps/src/nsPrincipal.cpp index 97a399278ce..7ea579ba64a 100755 --- a/mozilla/caps/src/nsPrincipal.cpp +++ b/mozilla/caps/src/nsPrincipal.cpp @@ -248,7 +248,7 @@ nsPrincipal::Equals(nsIPrincipal *aOther, PRBool *aResult) // If either subject name is empty, just let the result stand (so that // nsScriptSecurityManager::SetCanEnableCapability works), but if they're - // both nonempty, only claim equality if they're equal. + // both non-empty, only claim equality if they're equal. if (*aResult && !mCert->subjectName.IsEmpty()) { // Check the other principal's subject name aOther->GetSubjectName(str);