From e2caa14cfef237d16a20a3dea5efac9d20e27dfc Mon Sep 17 00:00:00 2001 From: "troy@netscape.com" Date: Fri, 13 Nov 1998 21:21:15 +0000 Subject: [PATCH] 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 --- layout/base/src/nsFrameImageLoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/base/src/nsFrameImageLoader.cpp b/layout/base/src/nsFrameImageLoader.cpp index 0929bb019e8d..67920373d2da 100644 --- a/layout/base/src/nsFrameImageLoader.cpp +++ b/layout/base/src/nsFrameImageLoader.cpp @@ -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; } }