| 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 5a76cbf7a46d40f643ddfd092cd7e9c5a9155bc5..494bb2b3767dfe38cdb5538afa0d9f9f90e2f23d 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
|
| @@ -606,9 +606,8 @@ void DesktopDragDropClientAuraX11::OnXdndDrop(
|
| ui::OSExchangeData data(new ui::OSExchangeDataProviderAuraX11(
|
| xwindow_, target_current_context_->fetched_targets()));
|
|
|
| - ui::DropTargetEvent event(data,
|
| - target_window_location_,
|
| - target_window_root_location_,
|
| + ui::DropTargetEvent event(data, gfx::PointF(target_window_location_),
|
| + gfx::PointF(target_window_root_location_),
|
| target_current_context_->GetDragOperation());
|
| if (target_current_context_->source_client()) {
|
| event.set_flags(target_current_context_->source_client()
|
| @@ -992,11 +991,8 @@ void DesktopDragDropClientAuraX11::DragTranslate(
|
| drag_op |= ui::DragDropTypes::DRAG_COPY;
|
| }
|
|
|
| - event->reset(new ui::DropTargetEvent(
|
| - *(data->get()),
|
| - location,
|
| - root_location,
|
| - drag_op));
|
| + event->reset(new ui::DropTargetEvent(*(data->get()), gfx::PointF(location),
|
| + gfx::PointF(root_location), drag_op));
|
| if (target_current_context_->source_client()) {
|
| (*event)->set_flags(
|
| target_current_context_->source_client()->current_modifier_state());
|
|
|