Index: ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc |
diff --git a/ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc b/ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc |
index a42eb62daa0c76fc6e633c3e081a823dd1b22920..9c9759b91df462ff9b55f24ee39a46d1add00bf4 100644 |
--- a/ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc |
+++ b/ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc |
@@ -219,7 +219,7 @@ class TabletEventConverterEvdevTest : public testing::Test { |
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()); |
} |
private: |