mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 16:54:08 +00:00
Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE.
This commit is contained in:
parent
1ef4f256bc
commit
42b7604d15
@ -365,7 +365,7 @@ nsresult nsContentIterator::First()
|
||||
{
|
||||
if (!mFirst)
|
||||
return NS_ERROR_FAILURE;
|
||||
mIsDone = false;
|
||||
mIsDone = PR_FALSE;
|
||||
if (mFirst == mCurNode)
|
||||
return NS_OK;
|
||||
mCurNode = mFirst;
|
||||
@ -377,7 +377,7 @@ nsresult nsContentIterator::Last()
|
||||
{
|
||||
if (!mLast)
|
||||
return NS_ERROR_FAILURE;
|
||||
mIsDone = false;
|
||||
mIsDone = PR_FALSE;
|
||||
if (mLast == mCurNode)
|
||||
return NS_OK;
|
||||
mCurNode = mLast;
|
||||
@ -393,7 +393,7 @@ nsresult nsContentIterator::Next()
|
||||
return NS_OK;
|
||||
if (mCurNode == mLast)
|
||||
{
|
||||
mIsDone = true;
|
||||
mIsDone = PR_TRUE;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
@ -365,7 +365,7 @@ nsresult nsContentIterator::First()
|
||||
{
|
||||
if (!mFirst)
|
||||
return NS_ERROR_FAILURE;
|
||||
mIsDone = false;
|
||||
mIsDone = PR_FALSE;
|
||||
if (mFirst == mCurNode)
|
||||
return NS_OK;
|
||||
mCurNode = mFirst;
|
||||
@ -377,7 +377,7 @@ nsresult nsContentIterator::Last()
|
||||
{
|
||||
if (!mLast)
|
||||
return NS_ERROR_FAILURE;
|
||||
mIsDone = false;
|
||||
mIsDone = PR_FALSE;
|
||||
if (mLast == mCurNode)
|
||||
return NS_OK;
|
||||
mCurNode = mLast;
|
||||
@ -393,7 +393,7 @@ nsresult nsContentIterator::Next()
|
||||
return NS_OK;
|
||||
if (mCurNode == mLast)
|
||||
{
|
||||
mIsDone = true;
|
||||
mIsDone = PR_TRUE;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user