Index: components/policy/core/common/remote_commands/remote_commands_queue.cc |
diff --git a/components/policy/core/common/remote_commands/remote_commands_queue.cc b/components/policy/core/common/remote_commands/remote_commands_queue.cc |
index c5ee7ff9b9506291043e593eb1e501414052c870..e3b28477de93268281539fc46f556cc322bd8dc0 100644 |
--- a/components/policy/core/common/remote_commands/remote_commands_queue.cc |
+++ b/components/policy/core/common/remote_commands/remote_commands_queue.cc |
@@ -4,6 +4,8 @@ |
#include "components/policy/core/common/remote_commands/remote_commands_queue.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/location.h" |
@@ -42,7 +44,7 @@ void RemoteCommandsQueue::AddJob(scoped_ptr<RemoteCommandJob> job) { |
void RemoteCommandsQueue::SetClockForTesting( |
scoped_ptr<base::TickClock> clock) { |
- clock_ = clock.Pass(); |
+ clock_ = std::move(clock); |
} |
base::TimeTicks RemoteCommandsQueue::GetNowTicks() { |