| Index: third_party/WebKit/Source/core/input/TouchEventManager.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.cpp b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
|
| index 149cff36bc908842d65b6dc63fe73d9b538f3a66..2d91d0797f635d49aa79cfef3bd4dc09378d1f29 100644
|
| --- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
|
| +++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
|
| @@ -126,10 +126,6 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
|
| // http://www.w3.org/TR/touch-events/#touchevent-interface for how these
|
| // lists fit together.
|
|
|
| - // Suppress all the touch moves in the slop region.
|
| - if (IsTouchSequenceStart(event))
|
| - m_suppressingTouchmovesWithinSlop = true;
|
| -
|
| if (event.type() == WebInputEvent::TouchEnd ||
|
| event.type() == WebInputEvent::TouchCancel || event.touchesLength > 1) {
|
| m_suppressingTouchmovesWithinSlop = false;
|
| @@ -292,6 +288,12 @@ WebInputEventResult TouchEventManager::dispatchTouchEvents(
|
| }
|
| }
|
|
|
| + // Do not suppress any touchmoves if the touchstart is consumed.
|
| + if (IsTouchSequenceStart(event) &&
|
| + eventResult == WebInputEventResult::NotHandled) {
|
| + m_suppressingTouchmovesWithinSlop = true;
|
| + }
|
| +
|
| return eventResult;
|
| }
|
|
|
|
|