Bug 495337 - PR_TRUE/true fix, r=bz
authorHonza Bambas <honzab.moz@firemni.cz>
Thu, 23 Feb 2012 18:47:02 +0100
changeset 87556 fc589c7cdc69882946586189ef67f1cf0555326a
parent 87555 8937b91b8435f91108d0ec9ea244c1320907a72e
child 87557 1b1c461e3ba09247da443f8d0336568a3a568fc0
push id22130
push userrnewman@mozilla.com
push dateFri, 24 Feb 2012 02:35:54 +0000
treeherdermozilla-central@d23600a1d4a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs495337
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 495337 - PR_TRUE/true fix, r=bz
caps/src/nsSystemPrincipal.cpp
--- a/caps/src/nsSystemPrincipal.cpp
+++ b/caps/src/nsSystemPrincipal.cpp
@@ -116,17 +116,17 @@ NS_IMETHODIMP
 nsSystemPrincipal::EqualsIgnoringDomain(nsIPrincipal *other, bool *result)
 {
     return Equals(other, result);
 }
 
 NS_IMETHODIMP
 nsSystemPrincipal::Subsumes(nsIPrincipal *other, bool *result)
 {
-    *result = PR_TRUE;
+    *result = true;
     return NS_OK;
 }
 
 NS_IMETHODIMP
 nsSystemPrincipal::SubsumesIgnoringDomain(nsIPrincipal *other, bool *result)
 {
     *result = true;
     return NS_OK;