NS_IMETHODIMP imgRequest::OnStartContainer(imgIRequest *request, imgIContainer *image)
void imgRequestProxy::OnStartContainer(imgIContainer *image)
NS_IMETHODIMP imgRequest::OnStartContainer(imgIRequest *request, imgIContainer *image){  LOG_SCOPE(gImgLog, "imgRequest::OnStartContainer");  NS_ASSERTION(image, "imgRequest::OnStartContainer called with a null image!");  if (!image) return NS_ERROR_UNEXPECTED;  mState |= onStartContainer;  mImageStatus |= imgIRequest::STATUS_SIZE_AVAILABLE;  PRInt32 count = mObservers.Count();  for (PRInt32 i = 0; i < count; i++) {    imgRequestProxy *proxy = NS_STATIC_CAST(imgRequestProxy*, mObservers[i]);    if (proxy) proxy->OnStartContainer(image);    // If this assertion fires, it means that imgRequest notifications could    // be dropped!    NS_ASSERTION(count == mObservers.Count(),                  "The observer list changed while being iterated over!");  }  return NS_OK;}