[webkit-changes] [WebKit/WebKit] 96d8c1: Callers of ContainerNode::removeChild need to keep...
EWS
noreply at github.com
Wed Feb 22 16:08:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96d8c10caa724a3e35011a782d94e4bb882692d6
https://github.com/WebKit/WebKit/commit/96d8c10caa724a3e35011a782d94e4bb882692d6
Author: Alex Christensen <achristensen at 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 at 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
More information about the webkit-changes
mailing list