[Webkit-unassigned] [Bug 278575] New: Use `=default` for destructors in `rendering` code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 23 13:33:23 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=278575

            Bug ID: 278575
           Summary: Use `=default` for destructors in `rendering` code
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240823/5c9d90b4/attachment.htm>


More information about the webkit-unassigned mailing list