Bug 138367

Summary: RenderBox shouldn't need a pre-destructor hook.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, koivisto, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Andreas Kling
Reported 2014-11-04 13:04:12 PST
RenderBox::willBeDestroyed() does a couple of things, but none of them require the renderer to be in-tree, nor does it do any virtual dispatch. We should move the logic to the plain destructor and get rid of the hook.
Attachments
Patch (3.01 KB, patch)
2014-11-04 13:05 PST, Andreas Kling
no flags
Andreas Kling
Comment 1 2014-11-04 13:05:37 PST
WebKit Commit Bot
Comment 2 2014-11-04 14:16:47 PST
Comment on attachment 240942 [details] Patch Clearing flags on attachment: 240942 Committed r175580: <http://trac.webkit.org/changeset/175580>
WebKit Commit Bot
Comment 3 2014-11-04 14:16:51 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.