Bug 230506

Summary: Wrap ScrollingMomentumCalculator in a ScrollAnimationMomentum when used for scroll snap
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, ews-watchlist, gyuyoung.kim, ryuan.choi, sergio, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch
none
Patch wenson_hsieh: review+, ews-feeder: commit-queue-

Simon Fraser (smfr)
Reported 2021-09-20 13:41:55 PDT
Wrap ScrollingMomentumCalculator in a ScrollAnimationMomentum when used for scroll snap
Attachments
Patch (23.64 KB, patch)
2021-09-20 13:45 PDT, Simon Fraser (smfr)
ews-feeder: commit-queue-
Patch (26.60 KB, patch)
2021-09-20 14:08 PDT, Simon Fraser (smfr)
no flags
Patch (27.71 KB, patch)
2021-09-20 16:36 PDT, Simon Fraser (smfr)
wenson_hsieh: review+
ews-feeder: commit-queue-
Simon Fraser (smfr)
Comment 1 2021-09-20 13:45:38 PDT
Simon Fraser (smfr)
Comment 2 2021-09-20 14:08:43 PDT
Simon Fraser (smfr)
Comment 3 2021-09-20 16:36:44 PDT
Wenson Hsieh
Comment 4 2021-09-20 17:28:15 PDT
Comment on attachment 438752 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438752&action=review > Source/WebCore/platform/ScrollAnimationMomentum.cpp:104 > + auto predictedScrollOffset = m_momentumCalculator->predictedDestinationOffset(); Is `m_momentumCalculator` guaranteed to be non-null here because this should only be called for active animations?
Radar WebKit Bug Importer
Comment 5 2021-09-27 13:42:15 PDT
EWS
Comment 6 2021-09-29 07:40:54 PDT
Tools/Scripts/svn-apply failed to apply attachment 438752 [details] to trunk. Please resolve the conflicts and upload a new patch.
Simon Fraser (smfr)
Comment 7 2021-10-04 17:08:23 PDT
Note You need to log in before you can comment on or make changes to this bug.