mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Fixed bug 254399
This commit is contained in:
parent
26ac90ee08
commit
4725c49887
@ -63,6 +63,8 @@ class oeCollectedEventEnumerator : public nsISimpleEnumerator
|
||||
NS_IMETHOD HasMoreElements(PRBool *aResult)
|
||||
{
|
||||
*aResult = PR_FALSE;
|
||||
if( mEnumIndex >= mListOfEnums.Count() )
|
||||
return NS_OK;
|
||||
mListOfEnums[mEnumIndex]->HasMoreElements(aResult);
|
||||
while (!*aResult && (++mEnumIndex < mListOfEnums.Count())) {
|
||||
mListOfEnums[mEnumIndex]->HasMoreElements(aResult);
|
||||
|
Loading…
Reference in New Issue
Block a user