[webkit-changes] [WebKit/WebKit] 7ce8ca: Crash under WebCore::ScrollableArea::availableCont...
Nikos Mouchtaris
noreply at github.com
Fri Jun 21 12:31:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ce8caf68469c9210478f4ceb968ce758a789f55
https://github.com/WebKit/WebKit/commit/7ce8caf68469c9210478f4ceb968ce758a789f55
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
A LayoutTests/fast/scrolling/mac/scrollbars/scrollbars-controller-crash-expected.txt
A LayoutTests/fast/scrolling/mac/scrollbars/scrollbars-controller-crash.html
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/platform/ScrollableArea.cpp
Log Message:
-----------
Crash under WebCore::ScrollableArea::availableContentSizeChanged
https://bugs.webkit.org/show_bug.cgi?id=275458
rdar://129621091
Reviewed by Tim Horton.
Add a call to the default scrollbars creator if page is null in
LocalFrameView::createScrollbarsController. Also add a release assert to
catch any cases of this in the future.
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::createScrollbarsController):
* Source/WebCore/platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollbarsController const):
Canonical link: https://commits.webkit.org/280256@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list