Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc |
index 3ef11e836033c70e2f30f5e5312dd5709628e47d..e9907e2a2759c6979a3612b764cccdf38cdbae79 100644 |
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc |
@@ -1186,8 +1186,8 @@ void DesktopDragDropClientAuraX11::CreateDragWidget( |
params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; |
params.accept_events = false; |
- gfx::Point location = gfx::Screen::GetNativeScreen()->GetCursorScreenPoint() - |
- drag_widget_offset_; |
+ gfx::Point location = |
+ gfx::Screen::GetScreen()->GetCursorScreenPoint() - drag_widget_offset_; |
params.bounds = gfx::Rect(location, image.size()); |
widget->set_focus_on_creation(false); |
widget->set_frame_type(Widget::FRAME_TYPE_FORCE_NATIVE); |