Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc

Issue 1138993007: Substituting pattern push_back(ptr.release()) with push_back(ptr.Pass()) in ui/events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated the review comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « ui/events/gestures/gesture_provider_aura.cc ('k') | ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698