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

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

Issue 1530443005: EDK: Add PlatformHandleWatcher to Channel (and ChannelManager) classes. (Closed) Base URL: https://github.com/domokit/mojo.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
« no previous file with comments | « mojo/edk/system/channel_manager_unittest.cc ('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 ecbf783ce176ac7f089434ae8123951cd0018c49..cc35b634391510c28f1ff578106b0fcb5431e876 100644
--- a/mojo/edk/system/channel_test_base.cc
+++ b/mojo/edk/system/channel_test_base.cc
@@ -38,7 +38,9 @@ void ChannelTestBase::InitChannelOnIOThread(unsigned i) {
CHECK(raw_channels_[i]);
CHECK(channels_[i]);
- channels_[i]->Init(std::move(raw_channels_[i]));
+ channels_[i]->Init(io_thread()->task_runner().Clone(),
+ io_thread()->platform_handle_watcher(),
+ std::move(raw_channels_[i]));
}
void ChannelTestBase::CreateAndInitChannelOnIOThread(unsigned i) {
« no previous file with comments | « mojo/edk/system/channel_manager_unittest.cc ('k') | mojo/edk/system/data_pipe_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698