Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 69441586e9e090843c0bb55f9a8b7eb97b1521e4 https://github.com/WebKit/WebKit/commit/69441586e9e090843c0bb55f9a8b7eb97b1521e4 Author: Erica Li <ler...@apple.com> Date: 2023-11-14 (Tue, 14 Nov 2023)
Changed paths: M Source/WebCore/page/scrolling/ScrollingStateNode.h M Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp Log Message: ----------- ScrollingStateScrollingNode destructor should be able to handle being called before being attached to a tree. https://bugs.webkit.org/show_bug.cgi?id=264722 rdar://117803479 Reviewed by Alex Christensen. Adding null check to handle the case when destructor being called before being attached to a tree. * Source/WebCore/page/scrolling/ScrollingStateNode.h: (WebCore::ScrollingStateNode::isAttachedToScrollingStateTree const): * Source/WebCore/page/scrolling/ScrollingStateScrollingNode.cpp: (WebCore::ScrollingStateScrollingNode::~ScrollingStateScrollingNode): Canonical link: https://commits.webkit.org/270696@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes