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

Unified Diff: mojo/edk/system/channel_test_base.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/channel_manager_unittest.cc ('k') | mojo/edk/system/connection_manager_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 cc35b634391510c28f1ff578106b0fcb5431e876..67d0a56118e002f770e76d1e185dad9ac15a2cbf 100644
--- a/mojo/edk/system/channel_test_base.cc
+++ b/mojo/edk/system/channel_test_base.cc
@@ -64,8 +64,8 @@ void ChannelTestBase::SetUpOnIOThread() {
CHECK(io_thread()->IsCurrentAndRunning());
embedder::PlatformChannelPair channel_pair;
- raw_channels_[0] = RawChannel::Create(channel_pair.PassServerHandle());
- raw_channels_[1] = RawChannel::Create(channel_pair.PassClientHandle());
+ raw_channels_[0] = RawChannel::Create(channel_pair.handle0.Pass());
+ raw_channels_[1] = RawChannel::Create(channel_pair.handle1.Pass());
}
} // namespace test
« no previous file with comments | « mojo/edk/system/channel_manager_unittest.cc ('k') | mojo/edk/system/connection_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698