| Index: ui/events/blink/compositor_thread_event_queue.cc
|
| diff --git a/ui/events/blink/compositor_thread_event_queue.cc b/ui/events/blink/compositor_thread_event_queue.cc
|
| index 58290fd98b2e01e27b0da3a6c4806be98293a0a5..9eec24e0c52214c1795ea80137de688c015e1e97 100644
|
| --- a/ui/events/blink/compositor_thread_event_queue.cc
|
| +++ b/ui/events/blink/compositor_thread_event_queue.cc
|
| @@ -25,7 +25,7 @@ void CompositorThreadEventQueue::Queue(std::unique_ptr<EventWithCallback> event,
|
| std::unique_ptr<EventWithCallback> CompositorThreadEventQueue::Pop() {
|
| std::unique_ptr<EventWithCallback> result;
|
| if (!queue_.empty()) {
|
| - result.reset(queue_.front().release());
|
| + result = std::move(queue_.front());
|
| queue_.pop_front();
|
| }
|
| return result;
|
|
|