Bug 138985

Summary: RenderElement::removeChild() doesn't need a return value.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: kling, koivisto
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description Andreas Kling 2014-11-21 15:14:00 PST
It looks like nobody uses the return value from RenderElement::removeChild().
Instead of plumbing it through everywhere, we should just remove it.
((Maybe someday, removeChild() could return a smart pointer that owns the renderer that got removed.))
Comment 1 Andreas Kling 2014-11-21 15:14:30 PST
Created attachment 242076 [details]
Patch
Comment 2 Andreas Kling 2014-11-21 15:40:29 PST
http://trac.webkit.org/changeset/176478