| Summary: | RenderBlock::clone() should return RenderPtr. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||
| Component: | Layout and Rendering | Assignee: | Andreas Kling <kling> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kling, kondapallykalyan | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Andreas Kling
2014-01-06 00:36:12 PST
Created attachment 220417 [details]
Patch
Comment on attachment 220417 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220417&action=review > Source/WebCore/rendering/RenderBlock.cpp:515 > + RenderPtr<RenderElement> cloneRenderer = element()->createElementRenderer(style()); > + cloneBlock = RenderPtr<RenderBlock>(toRenderBlock(cloneRenderer.leakPtr())); :( Committed r161337: <http://trac.webkit.org/changeset/161337> |