Index: ui/events/platform/x11/x11_event_source_libevent.h |
diff --git a/ui/events/platform/x11/x11_event_source_libevent.h b/ui/events/platform/x11/x11_event_source_libevent.h |
index b9f2eba9c8dfe4ac239e7a29f27884da358e6d3f..bc2ab738de283445614f2fc7f51015276ff35606 100644 |
--- a/ui/events/platform/x11/x11_event_source_libevent.h |
+++ b/ui/events/platform/x11/x11_event_source_libevent.h |
@@ -39,6 +39,8 @@ class EVENTS_EXPORT X11EventSourceLibevent |
explicit X11EventSourceLibevent(XDisplay* display); |
~X11EventSourceLibevent() override; |
+ static X11EventSourceLibevent* GetInstance(); |
+ |
// Adds a XEvent dispatcher to the XEvent dispatcher list. |
void AddXEventDispatcher(XEventDispatcher* dispatcher); |