Bug 41471
| Summary: | Refactor destroy() methods in RenderObject, RenderBox, and RenderWidget to share common code | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Justin Schuh <jschuh> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | hyatt, jamesr, jschuh, mitz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Justin Schuh
Right now we have warning comments to instruct people that they need to duplicate common code between RenderObject, RenderBox, and RenderWidget. However, that approach is error prone and screwing it up leads to ugly bugs. We should isolate the common destruction code so that it's more obviously shared between the different modules.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |