Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 96d8c10caa724a3e35011a782d94e4bb882692d6
      
https://github.com/WebKit/WebKit/commit/96d8c10caa724a3e35011a782d94e4bb882692d6
  Author: Alex Christensen <achristen...@webkit.org>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M Source/WebCore/dom/ContainerNode.cpp

  Log Message:
  -----------
  Callers of ContainerNode::removeChild need to keep a strong reference to the 
child
https://bugs.webkit.org/show_bug.cgi?id=252769
rdar://105784240

Reviewed by Geoff Garen and Chris Dumez.

260535@main introduced some operations that use the Node after calling
removeNodeWithScriptAssertion which may destroy it.

* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeChild):
* Source/WebCore/dom/ContainerNode.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to