Index: content/renderer/input/render_widget_input_handler.cc |
diff --git a/content/renderer/input/render_widget_input_handler.cc b/content/renderer/input/render_widget_input_handler.cc |
index 09a9a70fa10d3d053c6864bc32f051d6cfdf250c..35c1dfcb78513e25f3530a41de161d929b4019ce 100644 |
--- a/content/renderer/input/render_widget_input_handler.cc |
+++ b/content/renderer/input/render_widget_input_handler.cc |
@@ -260,8 +260,9 @@ void RenderWidgetInputHandler::HandleInputEvent( |
if (WebInputEvent::isMouseEventType(input_event.type())) { |
const WebMouseEvent& mouse_event = |
static_cast<const WebMouseEvent&>(input_event); |
- TRACE_EVENT2("renderer", "HandleMouseMove", "x", mouse_event.x, "y", |
- mouse_event.y); |
+ TRACE_EVENT2("renderer", "HandleMouseMove", "x", |
+ mouse_event.positionInWidget().x, "y", |
+ mouse_event.positionInWidget().y); |
context_menu_source_type_ = ui::MENU_SOURCE_MOUSE; |
prevent_default = delegate_->WillHandleMouseEvent(mouse_event); |
} |