Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c17d2e80a20eecd745eb5d6adc057e69171c0f41
https://github.com/WebKit/WebKit/commit/c17d2e80a20eecd745eb5d6adc057e69171c0f41
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
M Source/WebCore/platform/ScrollableArea.h
M Source/WebCore/rendering/RenderLayerScrollableArea.h
Log Message:
-----------
Remove dead RenderLayerScrollableArea::needsAnimatedScroll() accessor
https://bugs.webkit.org/show_bug.cgi?id=324319
rdar://187551380
Reviewed by Alan Baradlay.
needsAnimatedScroll() returned m_isRegisteredForAnimatedScroll, which
registerScrollableAreaForAnimatedScroll() only sets when the area isn't
already user-scrollable (the !m_registeredScrollableArea guard from
251454@main). So for a user-scrollable area running an animated scroll
the accessor reports false mid-animation. It has no callers, so remove it
rather than invent an unused contract.
* Source/WebCore/platform/ScrollableArea.h:
(WebCore::ScrollableArea::needsAnimatedScroll const): Deleted.
* Source/WebCore/rendering/RenderLayerScrollableArea.h:
Canonical link: https://commits.webkit.org/321248@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications