PRInt32 count = mDocObservers.Count(); PRInt32 index;
void nsDocLoaderImpl::FireOnStartURLLoad(nsIURL* aURL, const char* aContentType,                                          nsIContentViewer* aViewer){  PRInt32 count = mDocObservers.Count();  PRInt32 index;  /*   * First notify any observers that the URL load has begun...   */  for (index = 0; index < count; index++) {    nsIDocumentLoaderObserver* observer = (nsIDocumentLoaderObserver*)mDocObservers.ElementAt(index);    observer->OnStartURLLoad(aURL, aContentType, aViewer);  }  /*   * Finally notify the parent...   */  if (nsnull != mParent) {    mParent->FireOnStartURLLoad(aURL, aContentType, aViewer);  }}