else { mChildGroupList.EnumerateForwards(nsDocLoaderImpl::IsBusyEnumerator, (void*)&aResult);
if (!*aResult) { PRUint32 count, i;  rv = mChildList->Count(&count); if (NS_FAILED(rv)) return rv;  for (i=0; i<count; i++) { nsIDocumentLoader* loader;  loader = NS_STATIC_CAST(nsIDocumentLoader*, mChildList->ElementAt(i));  if (loader) { (void) loader->IsBusy(aResult); NS_RELEASE(loader);  if (*aResult) break; } }
nsDocLoaderImpl::IsBusy(PRBool& aResult){  aResult = PR_FALSE;  /* If this document loader is busy? */  if (0 != mForegroundURLs) {    aResult = PR_TRUE;  }   /* Otherwise, check its child document loaders... */  else {    mChildGroupList.EnumerateForwards(nsDocLoaderImpl::IsBusyEnumerator,                                       (void*)&aResult);  }  return NS_OK;}