Open Bug 606311 Opened 14 years ago Updated 2 years ago

Backgrounds clone a new imgRequestProxy on each paint

Categories

(Core :: Web Painting, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

References

Details

Like so: #0 imgRequestProxy::Clone (this=0x644a610, aObserver=0x21d2fd70, aClone=0xbfffa72c) at /Users/bzbarsky/mozilla/vanilla/mozilla/modules/libpr0n/src/imgRequestProxy.cpp:481 #1 0x0031e3b2 in nsImageLoader::Load (this=0x21d2fd70, aImage=0x644a610) at /Users/bzbarsky/mozilla/vanilla/mozilla/layout/base/nsImageLoader.cpp:132 #2 0x0031e6a2 in nsImageLoader::Create (aFrame=0x5623910, aRequest=0x644a610, aActions=2, aNextLoader=0x0) at /Users/bzbarsky/mozilla/vanilla/mozilla/layout/base/nsImageLoader.cpp:90 #3 0x003325dd in nsPresContext::SetupBackgroundImageLoaders (this=0x5156600, aFrame=0x5623910, aStyleBackground=0x5623870) at /Users/bzbarsky/mozilla/vanilla/mozilla/layout/base/nsPresContext.cpp:1353 #4 0x002e7d61 in nsCSSRendering::PaintBackgroundWithSC (aPresContext=0x5156600, aRenderingContext=@0x21dbfad0, aForFrame=0x5623910, aDirtyRect=@0x543c084, aBorderArea=@0xbfffa9d8, aBackgroundSC=0x5623408, aBorder=@0x69a6960, aFlags=0, aBGClipRect=0x0) at /Users/bzbarsky/mozilla/vanilla/mozilla/layout/base/nsCSSRendering.cpp:2265 I wonder whether we can flag, somehow, that we've already created the relevant imageloaders... We'd have to clear the flag when our background image actually changes, though.
This is the other half of the cause of bug 552538, right? (in addition to bug 552605)
Hmm. Yeah, I guess so.
Blocks: 552538
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.