| 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 26572774246f5c48344a71c2f1baa2f69b88a7f1..2764da1a0e5d1975ed84787452229929f2754f97 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
|
| @@ -366,7 +366,7 @@ bool DesktopDragDropClientAuraX11::X11DragContext::Dispatch(
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| DesktopDragDropClientAuraX11::DesktopDragDropClientAuraX11(
|
| - aura::RootWindow* root_window,
|
| + aura::Window* root_window,
|
| views::DesktopNativeCursorManager* cursor_manager,
|
| Display* xdisplay,
|
| ::Window xwindow)
|
| @@ -562,7 +562,7 @@ void DesktopDragDropClientAuraX11::OnSelectionNotify(
|
|
|
| int DesktopDragDropClientAuraX11::StartDragAndDrop(
|
| const ui::OSExchangeData& data,
|
| - aura::RootWindow* root_window,
|
| + aura::Window* root_window,
|
| aura::Window* source_window,
|
| const gfx::Point& root_location,
|
| int operation,
|
| @@ -681,7 +681,7 @@ void DesktopDragDropClientAuraX11::DragTranslate(
|
| scoped_ptr<ui::DropTargetEvent>* event,
|
| aura::client::DragDropDelegate** delegate) {
|
| gfx::Point root_location = root_window_location;
|
| - root_window_->ConvertPointFromNativeScreen(&root_location);
|
| + root_window_->GetRootWindow()->ConvertPointFromNativeScreen(&root_location);
|
| aura::Window* target_window =
|
| root_window_->GetEventHandlerForPoint(root_location);
|
| bool target_window_changed = false;
|
|
|