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

Unified Diff: components/policy/core/common/remote_commands/remote_commands_queue.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
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() {

Powered by Google App Engine
This is Rietveld 408576698