Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan

This commit is contained in:
Nathan Froyd 2012-09-21 14:40:14 -04:00
parent 19635a398b
commit 94f915135f
4 changed files with 8 additions and 8 deletions

View File

@ -103,7 +103,7 @@ interface nsIDOMEventTarget : nsISupports
nsIDOMEventListener* aListener,
bool aUseCapture)
{
return AddEventListener(aType, aListener, aUseCapture, PR_FALSE, 1);
return AddEventListener(aType, aListener, aUseCapture, false, 1);
}
// non-virtual so it won't affect the vtable
nsresult AddEventListener(const nsAString& aType,
@ -118,7 +118,7 @@ interface nsIDOMEventTarget : nsISupports
nsIDOMEventListener* aListener,
bool aUseCapture)
{
return AddSystemEventListener(aType, aListener, aUseCapture, PR_FALSE, 1);
return AddSystemEventListener(aType, aListener, aUseCapture, false, 1);
}
// non-virtual so it won't affect the vtable
nsresult AddSystemEventListener(const nsAString& aType,

View File

@ -283,7 +283,7 @@ interface mozIStorageStatement : mozIStorageBaseStatement {
}
inline bool IsNull(uint32_t idx) {
bool b = PR_FALSE;
bool b = false;
mozilla::DebugOnly<nsresult> rv = GetIsNull(idx, &b);
NS_ABORT_IF_FALSE(NS_SUCCEEDED(rv),
"Getting value failed, wrong column index?");

View File

@ -146,7 +146,7 @@ interface mozIStorageValueArray : nsISupports {
}
inline bool IsNull(uint32_t idx) {
bool b = PR_FALSE;
bool b = false;
#ifdef DEBUG
nsresult rv =
#endif

View File

@ -132,8 +132,8 @@ interface nsISearchableInputStream : nsISupports
extern nsresult
NS_NewPipe2(nsIAsyncInputStream **pipeIn,
nsIAsyncOutputStream **pipeOut,
bool nonBlockingInput = PR_FALSE,
bool nonBlockingOutput = PR_FALSE,
bool nonBlockingInput = false,
bool nonBlockingOutput = false,
uint32_t segmentSize = 0,
uint32_t segmentCount = 0,
nsIMemory *segmentAlloc = nullptr);
@ -171,8 +171,8 @@ NS_NewPipe(nsIInputStream **pipeIn,
nsIOutputStream **pipeOut,
uint32_t segmentSize = 0,
uint32_t maxSize = 0,
bool nonBlockingInput = PR_FALSE,
bool nonBlockingOutput = PR_FALSE,
bool nonBlockingInput = false,
bool nonBlockingOutput = false,
nsIMemory *segmentAlloc = nullptr);
%}