| 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 0df1977873b7a443ca1827b1bb59fba6e29dcd77..ff01d2e13c5580c41cd871edf1a905fb9df30e44 100644
|
| --- a/ui/events/platform/x11/x11_event_source_libevent.cc
|
| +++ b/ui/events/platform/x11/x11_event_source_libevent.cc
|
| @@ -61,8 +61,7 @@ class X11EventSourceLibevent : public X11EventSource,
|
| } // namespace
|
|
|
| scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
|
| - return scoped_ptr<PlatformEventSource>(
|
| - new X11EventSourceLibevent(gfx::GetXDisplay()));
|
| + return make_scoped_ptr(new X11EventSourceLibevent(gfx::GetXDisplay()));
|
| }
|
|
|
| } // namespace ui
|
|
|