Changed Notify() to handle nsImageNotification_kAborted and set the image load

status to NS_IMAGE_LOAD_STATUS_ERROR
This commit is contained in:
troy@netscape.com
1998-11-13 06:24:33 +00:00
parent e94f37f25a
commit 5b0d10bf8c
+5
View File
@@ -248,6 +248,11 @@ nsFrameImageLoader::Notify(nsIImageRequest *aImageRequest,
view->SetContentTransparency(PR_TRUE);
}
break;
case nsImageNotification_kAborted:
// Update the image load status
mImageLoadStatus |= NS_IMAGE_LOAD_STATUS_ERROR;
break;
}
}