Bug 102178
| Summary: | Painting into compositing layers should not set the painting root | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
*** This bug has been marked as a duplicate of bug 102256 ***