Changed Notify() to call NotifyError() if the notification type is

nsImageNotification_kAborted. This ensures that the NS_IMAGE_LOAD_STATUS_ERROR
load status bit is set and that the frame gets repainted
This commit is contained in:
troy@netscape.com
1998-11-13 21:21:15 +00:00
parent b85f78348d
commit e2caa14cfe
+2 -2
View File
@@ -250,8 +250,8 @@ nsFrameImageLoader::Notify(nsIImageRequest *aImageRequest,
break;
case nsImageNotification_kAborted:
// Update the image load status
mImageLoadStatus |= NS_IMAGE_LOAD_STATUS_ERROR;
// Treat this like an error
NotifyError(aImageRequest, nsImageError_kNoData);
break;
}
}