Title: [163338] trunk/Source/WebCore
- Revision
- 163338
- Author
- bfulg...@apple.com
- Date
- 2014-02-03 16:17:05 -0800 (Mon, 03 Feb 2014)
Log Message
[Mac] WK1 Clients Only Latch on Momentum Scroll
https://bugs.webkit.org/show_bug.cgi?id=128133
Reviewed by Simon Fraser.
* platform/PlatformWheelEvent.h:
(WebCore::PlatformWheelEvent::useLatchedEventElement): Update
predicate to recognize the start and change phases of the wheel
event as latchable (not just momentum start/change).
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (163337 => 163338)
--- trunk/Source/WebCore/ChangeLog 2014-02-04 00:13:01 UTC (rev 163337)
+++ trunk/Source/WebCore/ChangeLog 2014-02-04 00:17:05 UTC (rev 163338)
@@ -1,3 +1,15 @@
+2014-02-03 Brent Fulgham <bfulg...@apple.com>
+
+ [Mac] WK1 Clients Only Latch on Momentum Scroll
+ https://bugs.webkit.org/show_bug.cgi?id=128133
+
+ Reviewed by Simon Fraser.
+
+ * platform/PlatformWheelEvent.h:
+ (WebCore::PlatformWheelEvent::useLatchedEventElement): Update
+ predicate to recognize the start and change phases of the wheel
+ event as latchable (not just momentum start/change).
+
2014-02-03 Dean Jackson <d...@apple.com>
Feature flag for shape-inside
Modified: trunk/Source/WebCore/platform/PlatformWheelEvent.h (163337 => 163338)
--- trunk/Source/WebCore/platform/PlatformWheelEvent.h 2014-02-04 00:13:01 UTC (rev 163337)
+++ trunk/Source/WebCore/platform/PlatformWheelEvent.h 2014-02-04 00:17:05 UTC (rev 163338)
@@ -162,7 +162,11 @@
unsigned scrollCount() const { return m_scrollCount; }
float unacceleratedScrollingDeltaX() const { return m_unacceleratedScrollingDeltaX; }
float unacceleratedScrollingDeltaY() const { return m_unacceleratedScrollingDeltaY; }
- bool useLatchedEventElement() const { return m_momentumPhase == PlatformWheelEventPhaseBegan || m_momentumPhase == PlatformWheelEventPhaseChanged; }
+ bool useLatchedEventElement() const
+ {
+ return m_phase == PlatformWheelEventPhaseBegan || m_phase == PlatformWheelEventPhaseChanged
+ || m_momentumPhase == PlatformWheelEventPhaseBegan || m_momentumPhase == PlatformWheelEventPhaseChanged;
+ }
#else
bool useLatchedEventElement() const { return false; }
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes