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

Unified Diff: ui/events/event_utils.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ui/events/event_processor_unittest.cc ('k') | ui/events/gesture_detection/motion_event_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_utils.cc
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc
index c2d2adb901edf0553f5da850ff5d9cca34f419e5..cb4788d145592d22d8f0231db7fae5d35755a747 100644
--- a/ui/events/event_utils.cc
+++ b/ui/events/event_utils.cc
@@ -53,7 +53,7 @@ scoped_ptr<Event> EventFromNative(const base::NativeEvent& native_event) {
default:
break;
}
- return event.Pass();
+ return event;
}
int RegisterCustomEventType() {
« no previous file with comments | « ui/events/event_processor_unittest.cc ('k') | ui/events/gesture_detection/motion_event_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698