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

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

Issue 1651183003: Make PlatformChannelPair "dumb". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 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/raw_channel_unittest.cc ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/remote_data_pipe_impl_unittest.cc
diff --git a/mojo/edk/system/remote_data_pipe_impl_unittest.cc b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
index 9930da2770fa347193d4d368680ebf303172c5b8..31c445b55e5011e676e188eaea662f86fe39ab8d 100644
--- a/mojo/edk/system/remote_data_pipe_impl_unittest.cc
+++ b/mojo/edk/system/remote_data_pipe_impl_unittest.cc
@@ -91,12 +91,12 @@ class RemoteDataPipeImplTest : public testing::Test {
channels_[0] = MakeRefCounted<Channel>(&platform_support_);
channels_[0]->Init(io_thread_.task_runner().Clone(),
io_thread_.platform_handle_watcher(),
- RawChannel::Create(channel_pair.PassServerHandle()));
+ RawChannel::Create(channel_pair.handle0.Pass()));
channels_[0]->SetBootstrapEndpoint(std::move(ep0));
channels_[1] = MakeRefCounted<Channel>(&platform_support_);
channels_[1]->Init(io_thread_.task_runner().Clone(),
io_thread_.platform_handle_watcher(),
- RawChannel::Create(channel_pair.PassClientHandle()));
+ RawChannel::Create(channel_pair.handle1.Pass()));
channels_[1]->SetBootstrapEndpoint(std::move(ep1));
}
« no previous file with comments | « mojo/edk/system/raw_channel_unittest.cc ('k') | mojo/edk/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698