Changeset 293286 in webkit
- Timestamp:
- Apr 22, 2022, 9:40:17 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
page/scrolling/AsyncScrollingCoordinator.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r293285 r293286 1 2022-04-22 Simon Fraser <simon.fraser@apple.com> 2 3 Crash under AsyncScrollingCoordinator::scrollingThreadAddedPendingUpdate() 4 https://bugs.webkit.org/show_bug.cgi?id=239683 5 <rdar://92198272> 6 7 Reviewed by Alan Bujtas. 8 9 Crash data suggest that m_page can be null in 10 AsyncScrollingCoordinator::scheduleRenderingUpdate(), which does seem possible because 11 scheduleRenderingUpdate() is a dispatch from the scrolling thread, and 12 ScrollingCoordinator::pageDestroyed() may have run before it runs. 13 14 * page/scrolling/AsyncScrollingCoordinator.cpp: 15 (WebCore::AsyncScrollingCoordinator::scheduleRenderingUpdate): 16 1 17 2022-04-22 Chris Dumez <cdumez@apple.com> 2 18 -
trunk/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
r290760 r293286 374 374 void AsyncScrollingCoordinator::scheduleRenderingUpdate() 375 375 { 376 m_page->scheduleRenderingUpdate(RenderingUpdateStep::ScrollingTreeUpdate); 376 if (m_page) 377 m_page->scheduleRenderingUpdate(RenderingUpdateStep::ScrollingTreeUpdate); 377 378 } 378 379
Note:
See TracChangeset
for help on using the changeset viewer.