Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index 17c4ca66367225c279e98af5845ff7b7002bb27d..141f81153e97c6bfaafddeb4f06db768d7277dae 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -1145,7 +1145,7 @@ bool RenderWidget::WillHandleMouseEvent(const blink::WebMouseEvent& event) { |
possible_drag_event_info_.event_source = |
ui::DragDropTypes::DRAG_EVENT_SOURCE_MOUSE; |
possible_drag_event_info_.event_location = |
- gfx::Point(event.globalX, event.globalY); |
+ gfx::Point(event.positionInScreen().x, event.positionInScreen().y); |
if (owner_delegate_) |
return owner_delegate_->RenderWidgetWillHandleMouseEvent(event); |