nsPresContext::StopAllLoadImagesFor(nsIFrame* aTargetFrame)
nsPresContext::StopAllLoadImagesFor(nsIFrame* aTargetFrame, void *aKey)
nsPresContext::StopAllLoadImagesFor(nsIFrame* aTargetFrame){  nsFrameState state;  aTargetFrame->GetFrameState(&state);  if (NS_FRAME_HAS_LOADED_IMAGES & state) {    nsIFrameImageLoader* loader;    PRInt32 i, n = mImageLoaders.Count();    for (i = 0; i < n; i++) {      PRBool safe;      loader = (nsIFrameImageLoader*) mImageLoaders.ElementAt(i);      loader->RemoveFrame(aTargetFrame);      loader->SafeToDestroy(&safe);      if (safe) {        loader->StopImageLoad();        NS_RELEASE(loader);        mImageLoaders.RemoveElementAt(i);        n--;        i--;      }    }  }  return NS_OK;}