Index: Source/web/tests/TouchActionTest.cpp |
diff --git a/Source/web/tests/TouchActionTest.cpp b/Source/web/tests/TouchActionTest.cpp |
index 81a940ec822a3b9964981638d0ecfc6908a47b76..0218f094d4fde895bb1d948d9ceea416d57127fc 100644 |
--- a/Source/web/tests/TouchActionTest.cpp |
+++ b/Source/web/tests/TouchActionTest.cpp |
@@ -311,13 +311,13 @@ void TouchActionTest::sendTouchEvent(WebView* webView, WebInputEvent::Type type, |
webTouchEvent.touches[0].state = (type == WebInputEvent::TouchStart ? |
WebTouchPoint::StatePressed : |
WebTouchPoint::StateCancelled); |
- webTouchEvent.touches[0].id = kfakeTouchId; |
+ webTouchEvent.touches[0].pointerId = kfakeTouchId; |
webTouchEvent.touches[0].screenPosition.x = clientPoint.x(); |
webTouchEvent.touches[0].screenPosition.y = clientPoint.y(); |
webTouchEvent.touches[0].position.x = clientPoint.x(); |
webTouchEvent.touches[0].position.y = clientPoint.y(); |
- webTouchEvent.touches[0].radiusX = 10; |
- webTouchEvent.touches[0].radiusY = 10; |
+ webTouchEvent.touches[0].width = 10; |
+ webTouchEvent.touches[0].height = 10; |
webView->handleInputEvent(webTouchEvent); |
runPendingTasks(); |