зеркало из https://github.com/mozilla/gecko-dev.git
Bug 793258 - convert PR_FALSE to false in defined-in-idl-files functions; r=ehsan
This commit is contained in:
Родитель
19635a398b
Коммит
94f915135f
|
@ -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,
|
||||
|
|
|
@ -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?");
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
%}
|
||||
|
|
Загрузка…
Ссылка в новой задаче