Index: content/common/input/synthetic_web_input_event_builders.cc |
diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc |
index d2f4c393950b25753f6e6587841db253838df85e..eb5ea0c1d6bb6b939249a0fe985cc35a8039a651 100644 |
--- a/content/common/input/synthetic_web_input_event_builders.cc |
+++ b/content/common/input/synthetic_web_input_event_builders.cc |
@@ -175,17 +175,17 @@ int SyntheticWebTouchEvent::PressPoint(float x, float y) { |
if (touchesLength == touchesLengthCap) |
return -1; |
WebTouchPoint& point = touches[touchesLength]; |
- point.id = touchesLength; |
+ point.pointerId = touchesLength; |
point.position.x = point.screenPosition.x = x; |
point.position.y = point.screenPosition.y = y; |
point.state = WebTouchPoint::StatePressed; |
- point.radiusX = point.radiusY = 1.f; |
+ point.width = point.height = 1.f; |
point.rotationAngle = 1.f; |
- point.force = 1.f; |
+ point.pressure = 1.f; |
++touchesLength; |
WebTouchEventTraits::ResetType( |
WebInputEvent::TouchStart, timeStampSeconds, this); |
- return point.id; |
+ return point.pointerId; |
} |
void SyntheticWebTouchEvent::MovePoint(int index, float x, float y) { |