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 f56ed8bb95c4a3a76ce1e25c9d705e06c3195baa..13ee489dede27c4dd5a702be77ab08c1a4804987 100644 |
--- a/ui/events/platform/x11/x11_event_source_glib.cc |
+++ b/ui/events/platform/x11/x11_event_source_glib.cc |
@@ -96,7 +96,7 @@ void X11EventSourceGlib::InitXSource(int fd) { |
// static |
std::unique_ptr<PlatformEventSource> PlatformEventSource::CreateDefault() { |
- return base::WrapUnique(new X11EventSourceGlib(gfx::GetXDisplay())); |
+ return base::MakeUnique<X11EventSourceGlib>(gfx::GetXDisplay()); |
} |
} // namespace ui |