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() { |