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 ffe7853bdf9f1ac37f10598eb98391c8a11f1f21..bc0e6e9157ca974df22623cfc7a7424274f855a3 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 |
@@ -238,11 +238,11 @@ DesktopDragDropClientAuraX11::X11DragContext::X11DragContext( |
// created by some other process. Listen for messages on it. |
base::MessagePumpX11::Current()->AddDispatcherForWindow( |
this, source_window_); |
- XSelectInput(ui::GetXDisplay(), source_window_, PropertyChangeMask); |
+ XSelectInput(gfx::GetXDisplay(), source_window_, PropertyChangeMask); |
// We must perform a full sync here because we could be racing |
// |source_window_|. |
- XSync(ui::GetXDisplay(), False); |
+ XSync(gfx::GetXDisplay(), False); |
} else { |
// This drag originates from an aura window within our process. This means |
// that we can shortcut the X11 server and ask the owning SelectionOwner |
@@ -288,7 +288,7 @@ void DesktopDragDropClientAuraX11::X11DragContext::RequestNextTarget() { |
::Atom target = unfetched_targets_.back(); |
unfetched_targets_.pop_back(); |
- XConvertSelection(ui::GetXDisplay(), |
+ XConvertSelection(gfx::GetXDisplay(), |
atom_cache_->GetAtom(kXdndSelection), |
target, |
atom_cache_->GetAtom(kChromiumDragReciever), |