| Index: ui/events/platform/platform_event_source.cc
|
| diff --git a/ui/events/platform/platform_event_source.cc b/ui/events/platform/platform_event_source.cc
|
| index e274971c6ae2a8bfc6ffe9850cf9d3236211d384..a33562693abce3b5516a70848e7b9faa77316afa 100644
|
| --- a/ui/events/platform/platform_event_source.cc
|
| +++ b/ui/events/platform/platform_event_source.cc
|
| @@ -48,8 +48,8 @@ std::unique_ptr<ScopedEventDispatcher> PlatformEventSource::OverrideDispatcher(
|
| PlatformEventDispatcher* dispatcher) {
|
| CHECK(dispatcher);
|
| overridden_dispatcher_restored_ = false;
|
| - return base::WrapUnique(
|
| - new ScopedEventDispatcher(&overridden_dispatcher_, dispatcher));
|
| + return base::MakeUnique<ScopedEventDispatcher>(&overridden_dispatcher_,
|
| + dispatcher);
|
| }
|
|
|
| void PlatformEventSource::StopCurrentEventStream() {
|
|
|