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

Unified Diff: mojo/edk/system/channel_test_base.cc

Issue 1350503005: EDK: Some more scoped_ptr -> std::unique_ptr conversions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months 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
« no previous file with comments | « mojo/edk/system/channel_test_base.h ('k') | mojo/edk/system/data_pipe_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_test_base.cc
diff --git a/mojo/edk/system/channel_test_base.cc b/mojo/edk/system/channel_test_base.cc
index c1bf17300b74456c2ee0e18e716dddd066893f45..df90d3a6d0466672e31b185a8d34693b5cb98c48 100644
--- a/mojo/edk/system/channel_test_base.cc
+++ b/mojo/edk/system/channel_test_base.cc
@@ -4,6 +4,8 @@
#include "mojo/edk/system/channel_test_base.h"
+#include <utility>
+
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
#include "mojo/edk/embedder/platform_channel_pair.h"
@@ -35,7 +37,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 | « mojo/edk/system/channel_test_base.h ('k') | mojo/edk/system/data_pipe_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698