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

Unified Diff: third_party/mojo/src/mojo/edk/system/channel_test_base.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/channel_test_base.cc
diff --git a/third_party/mojo/src/mojo/edk/system/channel_test_base.cc b/third_party/mojo/src/mojo/edk/system/channel_test_base.cc
index b02e46e05532f91de19370dba67af212a70bcc00..bfe429d0af8addf7fc61a69f691d99c31033bd62 100644
--- a/third_party/mojo/src/mojo/edk/system/channel_test_base.cc
+++ b/third_party/mojo/src/mojo/edk/system/channel_test_base.cc
@@ -4,6 +4,8 @@
#include "third_party/mojo/src/mojo/edk/system/channel_test_base.h"
+#include <utility>
+
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
#include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
@@ -36,7 +38,7 @@ void ChannelTestBase::InitChannelOnIOThread(unsigned i) {
CHECK(raw_channels_[i]);
CHECK(channels_[i]);
- channels_[i]->Init(raw_channels_[i].Pass());
+ channels_[i]->Init(std::move(raw_channels_[i]));
}
void ChannelTestBase::CreateAndInitChannelOnIOThread(unsigned i) {
« no previous file with comments | « third_party/mojo/src/mojo/edk/system/channel_manager.cc ('k') | third_party/mojo/src/mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698