Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index 198ee0004bec4d78a7b19fc4040feb4079630f8a..a513a83a9910740d64ca05813ab7436e78052a3f 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -1757,16 +1757,16 @@ void EventSender::AddTouchPoint(gin::Arguments* args) { |
} |
} |
- touch_point.radiusX = static_cast<float>(radius_x); |
- touch_point.radiusY = static_cast<float>(radius_y); |
+ touch_point.width = static_cast<float>(radius_x); |
+ touch_point.height = static_cast<float>(radius_y); |
} |
int lowest_id = 0; |
for (size_t i = 0; i < touch_points_.size(); i++) { |
- if (touch_points_[i].id == lowest_id) |
+ if (touch_points_[i].pointerId == lowest_id) |
lowest_id++; |
} |
- touch_point.id = lowest_id; |
+ touch_point.pointerId = lowest_id; |
touch_points_.push_back(touch_point); |
} |