| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index a0e5792847b897233fff0f2798cf85794e706b0a..51b04f28c418c77d0356a81923afb6c3480896d6 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -1123,12 +1123,11 @@ void RenderWidgetHostImpl::ForwardGestureEventWithLatencyInfo(
|
| blink::WebInputEvent::kGestureScrollEnd ||
|
| gesture_event.GetType() ==
|
| blink::WebInputEvent::kGestureFlingStart) {
|
| - // TODO(wjmaclean): Re-enable the following DCHECK once crbug.com/695187
|
| - // is fixed.
|
| - // DCHECK(*is_in_gesture_scroll ||
|
| - // (gesture_event.type() == blink::WebInputEvent::GestureFlingStart &&
|
| - // gesture_event.sourceDevice ==
|
| - // blink::WebGestureDevice::WebGestureDeviceTouchpad));
|
| + DCHECK(
|
| + *is_in_gesture_scroll ||
|
| + (gesture_event.GetType() == blink::WebInputEvent::kGestureFlingStart &&
|
| + gesture_event.source_device ==
|
| + blink::WebGestureDevice::kWebGestureDeviceTouchpad));
|
| *is_in_gesture_scroll = false;
|
| if (gesture_event.GetType() == blink::WebInputEvent::kGestureFlingStart &&
|
| gesture_event.source_device ==
|
|
|