Title: [288176] branches/safari-613.1.14.0-branch/Source/WebKit
- Revision
- 288176
- Author
- kocsen_ch...@apple.com
- Date
- 2022-01-18 18:34:39 -0800 (Tue, 18 Jan 2022)
Log Message
Revert r287997. rdar://problem/87274541
Modified Paths
Diff
Modified: branches/safari-613.1.14.0-branch/Source/WebKit/ChangeLog (288175 => 288176)
--- branches/safari-613.1.14.0-branch/Source/WebKit/ChangeLog 2022-01-19 02:32:35 UTC (rev 288175)
+++ branches/safari-613.1.14.0-branch/Source/WebKit/ChangeLog 2022-01-19 02:34:39 UTC (rev 288176)
@@ -1,5 +1,9 @@
2022-01-18 Russell Epstein <repst...@apple.com>
+ Revert r287997. rdar://problem/87274541
+
+2022-01-18 Russell Epstein <repst...@apple.com>
+
Cherry-pick r287997. rdar://problem/87274541
Sometimes cannot scroll after using internal trackpad
Modified: branches/safari-613.1.14.0-branch/Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp (288175 => 288176)
--- branches/safari-613.1.14.0-branch/Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp 2022-01-19 02:32:35 UTC (rev 288175)
+++ branches/safari-613.1.14.0-branch/Source/WebKit/WebProcess/WebPage/MomentumEventDispatcher.cpp 2022-01-19 02:34:39 UTC (rev 288176)
@@ -59,8 +59,7 @@
if (event.momentumPhase() != WebWheelEvent::PhaseBegan)
return false;
- auto curveIterator = m_accelerationCurves.find(pageIdentifier);
- if (curveIterator == m_accelerationCurves.end() || !curveIterator->value) {
+ if (!m_accelerationCurves.contains(pageIdentifier)) {
RELEASE_LOG(ScrollAnimations, "MomentumEventDispatcher not using synthetic momentum phase: no acceleration curve");
return false;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes