Bug 278575

Summary: Use `=default` for destructors in `rendering` code
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2024-08-23 13:33:23 PDT
SSIA We have bunch of these: RenderListMarker::~RenderListMarker() { // Do not add any code here. Add it to willBeDestroyed() instead. } I think we should align with other code base and just change them to: // Do not add any code in below destructor. Add it to willBeDestroyed() instead. RenderVideo::~RenderVideo() = default; Just a reference.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-23 13:34:25 PDT
Ahmad Saleem
Comment 2 2024-08-23 13:39:59 PDT
EWS
Comment 3 2024-08-23 17:18:08 PDT
Committed 282685@main (bc7d339835a5): <https://commits.webkit.org/282685@main> Reviewed commits have been landed. Closing PR #32643 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.