renamed LoadImage

git-svn-id: svn://10.0.0.236/trunk@6943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com
1998-07-31 05:59:31 +00:00
parent 825dd8b76e
commit effad0e88b
2 changed files with 6 additions and 6 deletions

View File

@@ -665,9 +665,9 @@ void nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
nsIFrameImageLoader* loader = nsnull;
PRBool transparentBG = NS_STYLE_BG_COLOR_TRANSPARENT ==
(aColor.mBackgroundFlags & NS_STYLE_BG_COLOR_TRANSPARENT);
nsresult rv = aPresContext.LoadImage(aColor.mBackgroundImage, transparentBG ?
nsnull : &aColor.mBackgroundColor,
aForFrame, PR_FALSE, loader);
nsresult rv = aPresContext.StartLoadImage(aColor.mBackgroundImage, transparentBG ?
nsnull : &aColor.mBackgroundColor,
aForFrame, PR_FALSE, loader);
if ((NS_OK != rv) || (nsnull == loader) ||
(loader->GetImage(image), (nsnull == image))) {
NS_IF_RELEASE(loader);

View File

@@ -665,9 +665,9 @@ void nsCSSRendering::PaintBackground(nsIPresContext& aPresContext,
nsIFrameImageLoader* loader = nsnull;
PRBool transparentBG = NS_STYLE_BG_COLOR_TRANSPARENT ==
(aColor.mBackgroundFlags & NS_STYLE_BG_COLOR_TRANSPARENT);
nsresult rv = aPresContext.LoadImage(aColor.mBackgroundImage, transparentBG ?
nsnull : &aColor.mBackgroundColor,
aForFrame, PR_FALSE, loader);
nsresult rv = aPresContext.StartLoadImage(aColor.mBackgroundImage, transparentBG ?
nsnull : &aColor.mBackgroundColor,
aForFrame, PR_FALSE, loader);
if ((NS_OK != rv) || (nsnull == loader) ||
(loader->GetImage(image), (nsnull == image))) {
NS_IF_RELEASE(loader);