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

Unified Diff: third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc

Issue 1545333002: Convert Pass()→std::move() in //third_party/mojo (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
Index: third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc
diff --git a/third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc b/third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc
index 373d9a32a9637d4436494f4529915609953d9161..0c85965a0bcdb10ab77d8c620b16c67e9711f166 100644
--- a/third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc
+++ b/third_party/mojo/src/mojo/edk/system/slave_connection_manager.cc
@@ -4,6 +4,8 @@
#include "third_party/mojo/src/mojo/edk/system/slave_connection_manager.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/location.h"
@@ -131,7 +133,7 @@ void SlaveConnectionManager::InitOnPrivateThread(
embedder::ScopedPlatformHandle platform_handle) {
AssertOnPrivateThread();
- raw_channel_ = RawChannel::Create(platform_handle.Pass());
+ raw_channel_ = RawChannel::Create(std::move(platform_handle));
raw_channel_->Init(this);
event_.Signal();
}

Powered by Google App Engine
This is Rietveld 408576698