Index: ui/aura/root_window_host_linux.cc |
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc |
index cd2597b60d385bd6321984de74407a4586dab1b4..db0ca97dae38a1963475877da5b639951a971aeb 100644 |
--- a/ui/aura/root_window_host_linux.cc |
+++ b/ui/aura/root_window_host_linux.cc |
@@ -348,8 +348,9 @@ RootWindowHostLinux::~RootWindowHostLinux() { |
XFreeCursor(xdisplay_, invisible_cursor_); |
} |
-base::MessagePumpDispatcher::DispatchStatus RootWindowHostLinux::Dispatch( |
- XEvent* xev) { |
+base::DispatchStatus RootWindowHostLinux::Dispatch( |
+ const base::NativeEvent& event) { |
+ XEvent* xev = event; |
bool handled = false; |
// See crbug.com/109884. |
@@ -505,8 +506,7 @@ base::MessagePumpDispatcher::DispatchStatus RootWindowHostLinux::Dispatch( |
break; |
} |
} |
- return handled ? base::MessagePumpDispatcher::EVENT_PROCESSED : |
- base::MessagePumpDispatcher::EVENT_IGNORED; |
+ return handled ? base::EVENT_PROCESSED : base::EVENT_IGNORED; |
} |
void RootWindowHostLinux::SetRootWindow(RootWindow* root_window) { |