| Index: Source/web/tests/TouchActionTest.cpp
|
| diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp
|
| index edde74b2bc8425072eacd0942c4ec9f6143a84b8..625c3667c9e7c488e91e13c24bba3960dfe7d119 100644
|
| --- a/Source/web/tests/TouchActionTest.cpp
|
| +++ b/Source/web/tests/TouchActionTest.cpp
|
| @@ -294,6 +294,8 @@ void TouchActionTest::sendTouchEvent(WebView* webView, WebInputEvent::Type type,
|
|
|
| WebTouchEvent webTouchEvent;
|
| webTouchEvent.type = type;
|
| + if (type == WebInputEvent::TouchCancel)
|
| + webTouchEvent.cancelable = false;
|
| webTouchEvent.touchesLength = 1;
|
| webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ?
|
| WebTouchPoint::StatePressed :
|
|
|