Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'

This commit is contained in:
Jae-Seong Lee-Russo
2010-02-07 10:52:43 -05:00
parent 2ba62b8469
commit f1dbba608c
42 changed files with 93 additions and 92 deletions

View File

@@ -6247,7 +6247,7 @@ nsDocShell::CanSavePresentation(PRUint32 aLoadType,
// then we should not cache the presentation.
PRBool canSaveState;
mOSHE->GetSaveLayoutStateFlag(&canSaveState);
if (canSaveState == PR_FALSE)
if (!canSaveState)
return PR_FALSE;
// If the document is not done loading, don't cache it.
@@ -9516,7 +9516,7 @@ nsDocShell::AddToSessionHistory(nsIURI * aURI, nsIChannel * aChannel,
}
}
if (expired == PR_TRUE)
if (expired)
entry->SetExpirationStatus(PR_TRUE);