Index: components/policy/core/common/remote_commands/testing_remote_commands_server.cc |
diff --git a/components/policy/core/common/remote_commands/testing_remote_commands_server.cc b/components/policy/core/common/remote_commands/testing_remote_commands_server.cc |
index 85629ed5d13a43582d4033515679e25353f241b6..53db3e2c3d1f18c2e992d4e2cb9866bfcd28acf1 100644 |
--- a/components/policy/core/common/remote_commands/testing_remote_commands_server.cc |
+++ b/components/policy/core/common/remote_commands/testing_remote_commands_server.cc |
@@ -4,6 +4,8 @@ |
#include "components/policy/core/common/remote_commands/testing_remote_commands_server.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "base/callback.h" |
#include "base/location.h" |
@@ -135,7 +137,7 @@ TestingRemoteCommandsServer::FetchCommands( |
void TestingRemoteCommandsServer::SetClock(scoped_ptr<base::TickClock> clock) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- clock_ = clock.Pass(); |
+ clock_ = std::move(clock); |
} |
size_t TestingRemoteCommandsServer::NumberOfCommandsPendingResult() const { |