[webkit-changes] [WebKit/WebKit] 3845f9: Simplify RefCounted by removing deleter template a...

Ryosuke Niwa noreply at github.com
Thu May 16 10:03:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3845f9e278601e3ac7c20ff60f17b7fd8ec4378f
      https://github.com/WebKit/WebKit/commit/3845f9e278601e3ac7c20ff60f17b7fd8ec4378f
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M Source/WTF/wtf/RefCounted.h

  Log Message:
  -----------
  Simplify RefCounted by removing deleter template argument
https://bugs.webkit.org/show_bug.cgi?id=274246

Reviewed by Chris Dumez and Geoffrey Garen.

Remove the deleter template argument since nobody uses it.
This allows a simpler logic in the clang static analyzer.

* Source/WTF/wtf/RefCounted.h:
(WTF::RefCounted::deref const):
(WTF::RefCounted::derefAllowingPartiallyDestroyed const):

Canonical link: https://commits.webkit.org/278875@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list