Index: ui/events/platform/x11/x11_event_source_libevent.cc |
diff --git a/ui/events/platform/x11/x11_event_source_libevent.cc b/ui/events/platform/x11/x11_event_source_libevent.cc |
index d92e12a5d82cd911577c0bf1ff3142b643fab216..ab23ca72455fb380ce3edf9e0d0a8c96d46214e0 100644 |
--- a/ui/events/platform/x11/x11_event_source_libevent.cc |
+++ b/ui/events/platform/x11/x11_event_source_libevent.cc |
@@ -60,9 +60,13 @@ class X11EventSourceLibevent : public X11EventSource, |
} // namespace |
-scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { |
+scoped_ptr<PlatformEventSource> CreateX11LibeventSource() { |
return scoped_ptr<PlatformEventSource>( |
new X11EventSourceLibevent(gfx::GetXDisplay())); |
} |
+scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { |
+ return CreateX11LibeventSource(); |
+} |
+ |
} // namespace ui |