Bug 102178

Summary: Painting into compositing layers should not set the painting root
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bdakin, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2012-11-13 22:24:09 PST
RenderLayerBacking::paintIntoLayer() passes the renderer down into the RenderLayer painting code as the paintingRoot. This is a waste of cycles; the paintingRoot is only used in wacky cases where you just want to snapshot some subtree. We can just leave it null, and avoid a isDescendantOf() call in RenderLayer (which is a tree walk).
Attachments
Simon Fraser (smfr)
Comment 1 2012-11-14 11:49:16 PST
*** This bug has been marked as a duplicate of bug 102256 ***
Note You need to log in before you can comment on or make changes to this bug.