renamed LoadImage
git-svn-id: svn://10.0.0.236/trunk@6943 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user