Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index fca46e1cb494b85a6b52171ed62b5bd83440c0b1..ce6c34ea8d0402fceca322b40c335257f2f01e0e 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -2163,7 +2163,9 @@ void EventSender::SendCurrentTouchEvent(WebInputEvent::Type type, |
WebTouchEvent touch_event; |
touch_event.type = type; |
touch_event.modifiers = touch_modifiers_; |
- touch_event.cancelable = touch_cancelable_; |
+ touch_event.dispatchType = touch_cancelable_ |
+ ? WebInputEvent::Blocking |
+ : WebInputEvent::EventNonBlocking; |
touch_event.timeStampSeconds = GetCurrentEventTimeSec(); |
touch_event.movedBeyondSlopRegion = movedBeyondSlopRegion; |
touch_event.touchesLength = touch_points_.size(); |