| Index: ui/events/platform/x11/x11_event_source.cc
|
| diff --git a/ui/events/platform/x11/x11_event_source.cc b/ui/events/platform/x11/x11_event_source.cc
|
| index 865fdb1a2c67eefda30bde43c89770355340c21c..910578f0bfa435672a9b54c13957cb8436bcea78 100644
|
| --- a/ui/events/platform/x11/x11_event_source.cc
|
| +++ b/ui/events/platform/x11/x11_event_source.cc
|
| @@ -11,7 +11,6 @@
|
| #include <X11/XKBlib.h>
|
|
|
| #include "base/logging.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "ui/events/event_utils.h"
|
| #include "ui/events/platform/platform_event_dispatcher.h"
|
| #include "ui/gfx/x/x11_types.h"
|
| @@ -195,12 +194,7 @@ uint32_t X11EventSource::DispatchEvent(XEvent* xevent) {
|
| have_cookie = true;
|
| }
|
|
|
| - // TODO(sad): Remove this once all MessagePumpObservers are turned into
|
| - // PlatformEventObservers.
|
| - base::MessagePumpX11::Current()->WillProcessXEvent(xevent);
|
| uint32_t action = PlatformEventSource::DispatchEvent(xevent);
|
| - base::MessagePumpX11::Current()->DidProcessXEvent(xevent);
|
| -
|
| if (xevent->type == GenericEvent &&
|
| xevent->xgeneric.evtype == XI_HierarchyChanged) {
|
| ui::UpdateDeviceList();
|
|
|