From 5b0d10bf8ca81b20e6be2cb335a6219be4e1ef17 Mon Sep 17 00:00:00 2001 From: "troy@netscape.com" Date: Fri, 13 Nov 1998 06:24:33 +0000 Subject: [PATCH] Changed Notify() to handle nsImageNotification_kAborted and set the image load status to NS_IMAGE_LOAD_STATUS_ERROR --- layout/base/src/nsFrameImageLoader.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layout/base/src/nsFrameImageLoader.cpp b/layout/base/src/nsFrameImageLoader.cpp index 12b09ba88318..0929bb019e8d 100644 --- a/layout/base/src/nsFrameImageLoader.cpp +++ b/layout/base/src/nsFrameImageLoader.cpp @@ -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; } }