From effad0e88b300eb522da66ef565f9e98e641b233 Mon Sep 17 00:00:00 2001 From: "peterl%netscape.com" Date: Fri, 31 Jul 1998 05:59:31 +0000 Subject: [PATCH] renamed LoadImage git-svn-id: svn://10.0.0.236/trunk@6943 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSRendering.cpp | 6 +++--- mozilla/layout/html/style/src/nsCSSRendering.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/layout/base/nsCSSRendering.cpp b/mozilla/layout/base/nsCSSRendering.cpp index 50b4cd32dcc..55a04c0543d 100644 --- a/mozilla/layout/base/nsCSSRendering.cpp +++ b/mozilla/layout/base/nsCSSRendering.cpp @@ -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); diff --git a/mozilla/layout/html/style/src/nsCSSRendering.cpp b/mozilla/layout/html/style/src/nsCSSRendering.cpp index 50b4cd32dcc..55a04c0543d 100644 --- a/mozilla/layout/html/style/src/nsCSSRendering.cpp +++ b/mozilla/layout/html/style/src/nsCSSRendering.cpp @@ -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);