| Summary: | Wrap ScrollingMomentumCalculator in a ScrollAnimationMomentum when used for scroll snap | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||||
| Component: | Scrolling | Assignee: | 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
Simon Fraser (smfr)
2021-09-20 13:41:55 PDT
Created attachment 438723 [details]
Patch
Created attachment 438727 [details]
Patch
Created attachment 438752 [details]
Patch
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? Tools/Scripts/svn-apply failed to apply attachment 438752 [details] to trunk.
Please resolve the conflicts and upload a new patch.
|