Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index 58b8f1c179ad0271b0cfa6f2f8d1e08f2af055dd..ecc4ca2a261d3e4b54b0d5cff0b74b2b046a0aa0 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -2160,7 +2160,8 @@ 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::NonBlocking : WebInputEvent::Blocking; |
touch_event.timeStampSeconds = GetCurrentEventTimeSec(); |
touch_event.movedBeyondSlopRegion = movedBeyondSlopRegion; |
touch_event.touchesLength = touch_points_.size(); |