| Index: ui/events/platform/x11/x11_event_source_glib.cc
|
| diff --git a/ui/events/platform/x11/x11_event_source_glib.cc b/ui/events/platform/x11/x11_event_source_glib.cc
|
| index f9f938dceae71ca100b7bda2676fec9c8444ba53..f616cddbee694d1a22e20800ef2dbf27168a3812 100644
|
| --- a/ui/events/platform/x11/x11_event_source_glib.cc
|
| +++ b/ui/events/platform/x11/x11_event_source_glib.cc
|
| @@ -94,8 +94,7 @@ class X11EventSourceGlib : public X11EventSource {
|
| } // namespace
|
|
|
| scoped_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() {
|
| - return scoped_ptr<PlatformEventSource>(
|
| - new X11EventSourceGlib(gfx::GetXDisplay()));
|
| + return make_scoped_ptr(new X11EventSourceGlib(gfx::GetXDisplay()));
|
| }
|
|
|
| } // namespace ui
|
|
|