| 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 76c7f48c6f2a45444b5c454bbea62acf01149f62..c9e5e15d5967b1f5afeb97802f73e308c216c841 100644
|
| --- a/ui/events/platform/x11/x11_event_source.cc
|
| +++ b/ui/events/platform/x11/x11_event_source.cc
|
| @@ -114,6 +114,10 @@ X11EventSource::~X11EventSource() {
|
| XDestroyWindow(display_, dummy_window_);
|
| }
|
|
|
| +bool X11EventSource::HasInstance() {
|
| + return instance_;
|
| +}
|
| +
|
| // static
|
| X11EventSource* X11EventSource::GetInstance() {
|
| DCHECK(instance_);
|
|
|