Changeset 288933 in webkit
- Timestamp:
- Feb 1, 2022, 5:41:26 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
page/scrolling/ThreadedScrollingTree.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r288931 r288933 1 2022-02-01 Simon Fraser <simon.fraser@apple.com> 2 3 Crash under ScrollingCoordinatorMac::hasNodeWithAnimatedScrollChanged() 4 https://bugs.webkit.org/show_bug.cgi?id=235989 5 <rdar://87402941> 6 7 Reviewed by Wenson Hsieh. 8 9 Crash data suggest that m_scrollingCoordinator can be null in ThreadedScrollingTree::hasNodeWithAnimatedScrollChanged(), 10 which is true if the scrolling tree keeps ThreadedScrollingTree alive longer than the scrolling coordinator. 11 12 As in the other functions in this file, early return if m_scrollingCoordinator is null. 13 14 * page/scrolling/ThreadedScrollingTree.cpp: 15 (WebCore::ThreadedScrollingTree::hasNodeWithAnimatedScrollChanged): 16 1 17 2022-02-01 Pablo Saavedra <psaavedra@igalia.com> 2 18 -
trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp
r287739 r288933 378 378 void ThreadedScrollingTree::hasNodeWithAnimatedScrollChanged(bool hasNodeWithAnimatedScroll) 379 379 { 380 if (!m_scrollingCoordinator) 381 return; 382 380 383 RunLoop::main().dispatch([scrollingCoordinator = m_scrollingCoordinator, hasNodeWithAnimatedScroll] { 381 384 scrollingCoordinator->hasNodeWithAnimatedScrollChanged(hasNodeWithAnimatedScroll);
Note:
See TracChangeset
for help on using the changeset viewer.