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 ed7059a675af831ba1b7ccaebe27c2a2860d9b6e..4b1ee38ed5232348e393ee878a28f5d85f0f0ca2 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 |
@@ -145,7 +145,8 @@ class DesktopDragDropClientAuraX11::X11DragContext |
// ui::PlatformEventDispatcher: |
virtual bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
- virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) override; |
+ virtual ui::PostDispatchAction DispatchEvent( |
+ const ui::PlatformEvent& event) override; |
// The atom cache owned by our parent. |
ui::X11AtomCache* atom_cache_; |
@@ -358,7 +359,8 @@ bool DesktopDragDropClientAuraX11::X11DragContext::CanDispatchEvent( |
return event->xany.window == source_window_; |
} |
-uint32_t DesktopDragDropClientAuraX11::X11DragContext::DispatchEvent( |
+ui::PostDispatchAction |
+DesktopDragDropClientAuraX11::X11DragContext::DispatchEvent( |
const ui::PlatformEvent& event) { |
if (event->type == PropertyNotify && |
event->xproperty.atom == atom_cache_->GetAtom("XdndActionList")) { |