Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index db861cc9e76b71a9f21ac8af81c5b0a86b0c9dff..9271b5c71ac39938d2df2a53c70a23a0e2dc67a0 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1027,8 +1027,9 @@ void RenderWidgetHostImpl::ForwardMouseEvent(const WebMouseEvent& mouse_event) { |
void RenderWidgetHostImpl::ForwardMouseEventWithLatencyInfo( |
const blink::WebMouseEvent& mouse_event, |
const ui::LatencyInfo& ui_latency) { |
- TRACE_EVENT2("input", "RenderWidgetHostImpl::ForwardMouseEvent", |
- "x", mouse_event.x, "y", mouse_event.y); |
+ TRACE_EVENT2("input", "RenderWidgetHostImpl::ForwardMouseEvent", "x", |
+ mouse_event.positionInWidget().x, "y", |
+ mouse_event.positionInWidget().y); |
for (size_t i = 0; i < mouse_event_callbacks_.size(); ++i) { |
if (mouse_event_callbacks_[i].Run(mouse_event)) |