| Index: ui/aura/monitor_change_observer_x11.cc
|
| diff --git a/ui/aura/monitor_change_observer_x11.cc b/ui/aura/monitor_change_observer_x11.cc
|
| index 8618d1fdf110903a3d13ca7627a36ed6a56ea079..bb2904f1c2534982b08cd07f1ee21e75214ab31a 100644
|
| --- a/ui/aura/monitor_change_observer_x11.cc
|
| +++ b/ui/aura/monitor_change_observer_x11.cc
|
| @@ -55,13 +55,11 @@ MonitorChangeObserverX11::~MonitorChangeObserverX11() {
|
| WindowDispatcherDestroying(x_root_window_);
|
| }
|
|
|
| -base::MessagePumpDispatcher::DispatchStatus
|
| -MonitorChangeObserverX11::Dispatch(XEvent* event) {
|
| +bool MonitorChangeObserverX11::Dispatch(const base::NativeEvent& event) {
|
| if (event->type - xrandr_event_base_ == RRScreenChangeNotify) {
|
| NotifyMonitorChange();
|
| - return base::MessagePumpDispatcher::EVENT_PROCESSED;
|
| }
|
| - return base::MessagePumpDispatcher::EVENT_IGNORED;
|
| + return true;
|
| }
|
|
|
| void MonitorChangeObserverX11::NotifyMonitorChange() {
|
|
|