Changed it so image frames don't have a view, and turned on transparent

images
This commit is contained in:
troy@netscape.com
1998-07-19 05:48:46 +00:00
parent 53be454a36
commit 21f3f64c84
2 changed files with 13 additions and 6 deletions
-6
View File
@@ -133,13 +133,7 @@ nsFrameImageLoader::Init(nsIPresContext* aPresContext,
cp ? cp : "(null)", mTargetFrame, mImageLoadStatus));
// Start image load request
// XXX SPARKY
#if 0
mImageRequest = aGroup->GetImage(cp, this, aBackgroundColor, 0, 0, 0);
#else
nscolor bgcolor = NS_RGB(255,255,255);
mImageRequest = aGroup->GetImage(cp, this, &bgcolor, 0, 0, 0);
#endif
delete cp;
return NS_OK;