Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
index bb253cff17ce48e6295bbee89574a874f5733462..e6a8798f2b3517f4001604b9fd66b48cc252d879 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc |
@@ -225,7 +225,8 @@ bool DesktopScreenX11::CanDispatchEvent(const ui::PlatformEvent& event) { |
event->type - xrandr_event_base_ == RRNotify; |
} |
-uint32_t DesktopScreenX11::DispatchEvent(const ui::PlatformEvent& event) { |
+ui::PostDispatchAction DesktopScreenX11::DispatchEvent( |
+ const ui::PlatformEvent& event) { |
if (event->type - xrandr_event_base_ == RRScreenChangeNotify) { |
// Pass the event through to xlib. |
XRRUpdateConfiguration(event); |