From ce54fd4449ca3112a8d561639f07d5b41f27a580 Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Fri, 26 Feb 1999 17:15:15 +0000 Subject: [PATCH] Support sized images --- layout/base/src/nsFrameImageLoader.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/base/src/nsFrameImageLoader.h b/layout/base/src/nsFrameImageLoader.h index aa683ee60f5b..8f5115af237d 100644 --- a/layout/base/src/nsFrameImageLoader.h +++ b/layout/base/src/nsFrameImageLoader.h @@ -48,6 +48,7 @@ public: const nsString& aURL, const nscolor* aBackgroundColor, nsIFrame* aTargetFrame, + const nsSize& aDesiredSize, nsFrameImageLoaderCB aCallBack, PRBool aNeedSizeUpdate, PRBool aNeedErrorNotification); @@ -70,6 +71,7 @@ protected: nsSize mSize; nsImageError mError; nsIFrame* mTargetFrame; + nsSize mDesiredSize; nsFrameImageLoaderCB mCallBack; nsIPresContext* mPresContext; nsIImageRequest* mImageRequest;