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

Unified Diff: ui/events/test/test_event_processor.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/test/event_generator.cc ('k') | ui/events/test/test_event_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/test_event_processor.cc
diff --git a/ui/events/test/test_event_processor.cc b/ui/events/test/test_event_processor.cc
index 3be8016e786d32dd18d41a720675993d0dcb56ac..6515ca6a67cf299f79cab3e025d9a2a6c111650e 100644
--- a/ui/events/test/test_event_processor.cc
+++ b/ui/events/test/test_event_processor.cc
@@ -4,6 +4,8 @@
#include "ui/events/test/test_event_processor.h"
+#include <utility>
+
#include "ui/events/event_target.h"
namespace ui {
@@ -18,7 +20,7 @@ TestEventProcessor::TestEventProcessor()
TestEventProcessor::~TestEventProcessor() {}
void TestEventProcessor::SetRoot(scoped_ptr<EventTarget> root) {
- root_ = root.Pass();
+ root_ = std::move(root);
}
void TestEventProcessor::Reset() {
« no previous file with comments | « ui/events/test/event_generator.cc ('k') | ui/events/test/test_event_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698