Index: content/browser/renderer_host/input/render_widget_host_latency_tracker.cc |
diff --git a/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc b/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc |
index 8ebace902992f25699280254bcd8b17cf708a4a8..59f642e65bc648718779709bd16d88f5b15d126a 100644 |
--- a/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc |
+++ b/content/browser/renderer_host/input/render_widget_host_latency_tracker.cc |
@@ -47,15 +47,17 @@ void UpdateLatencyCoordinatesImpl(const WebGestureEvent& gesture, |
void UpdateLatencyCoordinatesImpl(const WebMouseEvent& mouse, |
LatencyInfo* latency, |
float device_scale_factor) { |
- latency->AddInputCoordinate(gfx::PointF(mouse.x * device_scale_factor, |
- mouse.y * device_scale_factor)); |
+ latency->AddInputCoordinate( |
+ gfx::PointF(mouse.position.x * device_scale_factor, |
+ mouse.position.y * device_scale_factor)); |
} |
void UpdateLatencyCoordinatesImpl(const WebMouseWheelEvent& wheel, |
LatencyInfo* latency, |
float device_scale_factor) { |
- latency->AddInputCoordinate(gfx::PointF(wheel.x * device_scale_factor, |
- wheel.y * device_scale_factor)); |
+ latency->AddInputCoordinate( |
+ gfx::PointF(wheel.position.x * device_scale_factor, |
+ wheel.position.y * device_scale_factor)); |
} |
void UpdateLatencyCoordinates(const WebInputEvent& event, |