Index: ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc |
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc |
index ecc20d3ee480076b531921df4c473381e1327211..f67ae69d08b7e49eca6d7ba0ca19f3f7d7222f20 100644 |
--- a/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc |
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc |
@@ -141,7 +141,7 @@ class EventConverterEvdevImplTest : public testing::Test { |
private: |
void DispatchEventForTest(ui::Event* event) { |
scoped_ptr<ui::Event> cloned_event = ui::Event::Clone(*event); |
- dispatched_events_.push_back(cloned_event.release()); |
+ dispatched_events_.push_back(cloned_event.Pass()); |
} |
base::MessageLoopForUI ui_loop_; |