Changed Notify() to handle nsImageNotification_kAborted and set the image load
status to NS_IMAGE_LOAD_STATUS_ERROR
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user