| Index: ui/events/event_source.cc
|
| diff --git a/ui/events/event_source.cc b/ui/events/event_source.cc
|
| index a93b6d28227665020e444baa88dd155123d2c02c..2736696c2d7b987ffec5d406ce27ffcd27624807 100644
|
| --- a/ui/events/event_source.cc
|
| +++ b/ui/events/event_source.cc
|
| @@ -62,7 +62,7 @@ EventDispatchDetails EventSource::SendEventToProcessor(Event* event) {
|
| details = DeliverEventToProcessor(new_event.get());
|
| if (details.dispatcher_destroyed)
|
| return details;
|
| - rewritten_event.reset(new_event.release());
|
| + rewritten_event = std::move(new_event);
|
| }
|
| return EventDispatchDetails();
|
| }
|
|
|