Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42af18179f7ac1e4ef1d78ed9d238331ee740948
      
https://github.com/WebKit/WebKit/commit/42af18179f7ac1e4ef1d78ed9d238331ee740948
  Author: Lily Spiniolas <[email protected]>
  Date:   2026-02-15 (Sun, 15 Feb 2026)

  Changed paths:
    M Source/WebCore/platform/ScrollAnimation.h
    M Source/WebCore/platform/ScrollAnimationKeyboard.h
    M Source/WebCore/platform/ScrollAnimationKinetic.h
    M Source/WebCore/platform/ScrollAnimationMomentum.h
    M Source/WebCore/platform/ScrollAnimationSmooth.h
    M Source/WebCore/platform/ScrollingEffectsController.cpp
    M Source/WebCore/platform/mac/ScrollAnimationRubberBand.h
    M Source/WebCore/platform/mac/ScrollingEffectsController.mm

  Log Message:
  -----------
  Make ScrollAnimation compatible with CheckedPtr
https://bugs.webkit.org/show_bug.cgi?id=307838
rdar://170339530

Reviewed by Ryosuke Niwa, Aditya Keerthi, and Abrar Rahman Protyasha.

Update `ScrollAnimation` to be compatible with CheckedPtr to
improve safety when downcasting (which will be performed in a later
patch.)

* Source/WebCore/platform/ScrollAnimation.h:
* Source/WebCore/platform/ScrollAnimationKeyboard.h:
* Source/WebCore/platform/ScrollAnimationKinetic.h:
* Source/WebCore/platform/ScrollAnimationMomentum.h:
* Source/WebCore/platform/ScrollAnimationSmooth.h:
* Source/WebCore/platform/ScrollingEffectsController.cpp:
(WebCore::ScrollingEffectsController::finishKeyboardScroll):
(WebCore::ScrollingEffectsController::retargetAnimatedScroll):
(WebCore::ScrollingEffectsController::processWheelEventForKineticScrolling):
* Source/WebCore/platform/mac/ScrollAnimationRubberBand.h:
* Source/WebCore/platform/mac/ScrollingEffectsController.mm:
(WebCore::ScrollingEffectsController::startRubberBandAnimation):
(WebCore::ScrollingEffectsController::startRubberBandSnapBack):

Canonical link: https://commits.webkit.org/307612@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to