| Index: content/browser/renderer_host/input/touch_event_queue.cc
|
| diff --git a/content/browser/renderer_host/input/touch_event_queue.cc b/content/browser/renderer_host/input/touch_event_queue.cc
|
| index 98100603b56142f46552fedbc4224dbd288c701a..c863d299a5e27c467cd120e0190849a4bfac62ed 100644
|
| --- a/content/browser/renderer_host/input/touch_event_queue.cc
|
| +++ b/content/browser/renderer_host/input/touch_event_queue.cc
|
| @@ -426,6 +426,9 @@ void TouchEventQueue::OnGestureScrollEvent(
|
| if (gesture_event.event.type != blink::WebInputEvent::GestureScrollBegin)
|
| return;
|
|
|
| + if (touch_scrolling_mode_ == TOUCH_SCROLLING_MODE_ABSORB_TOUCHMOVE)
|
| + absorbing_touch_moves_ = true;
|
| +
|
| if (touch_scrolling_mode_ != TOUCH_SCROLLING_MODE_TOUCHCANCEL)
|
| return;
|
|
|
| @@ -466,8 +469,6 @@ void TouchEventQueue::OnGestureEventAck(
|
| // gesture event (or even part of the current sequence). Worst case, the
|
| // delay in updating the absorption state should only result in minor UI
|
| // glitches.
|
| - // TODO(rbyers): Define precise timing requirements and potentially implement
|
| - // mitigations for races.
|
| absorbing_touch_moves_ = (ack_result == INPUT_EVENT_ACK_STATE_CONSUMED);
|
| }
|
|
|
|
|