[webkit-changes] [WebKit/WebKit] d6daea: Stop using CheckedPtr with ChildNodeList / EmptyNo...

Chris Dumez noreply at github.com
Fri Dec 15 09:42:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6daeabfcd1ec18f8b15ad98eaf55d177c3973cf
      https://github.com/WebKit/WebKit/commit/d6daeabfcd1ec18f8b15ad98eaf55d177c3973cf
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M Source/WebCore/dom/ChildNodeList.h
    M Source/WebCore/dom/NodeRareData.h

  Log Message:
  -----------
  Stop using CheckedPtr with ChildNodeList / EmptyNodeList
https://bugs.webkit.org/show_bug.cgi?id=266481

Reviewed by Ryosuke Niwa.

Stop using CheckedPtr with ChildNodeList / EmptyNodeList. Use WeakPtr instead
to generate more actionable crashes. This tested as performance neutral on
Speedometer 2 & 3.

* Source/WebCore/dom/ChildNodeList.h:
* Source/WebCore/dom/NodeRareData.h:

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




More information about the webkit-changes mailing list