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

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

Issue 1526063003: EDK: Add TaskRunner and PlatformHandleWatcher to RawChannel. (Closed) Base URL: https://github.com/domokit/mojo.git@channel_watcher
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 | « no previous file | mojo/edk/system/master_connection_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel.cc
diff --git a/mojo/edk/system/channel.cc b/mojo/edk/system/channel.cc
index 74462243c1cdf072a226173f1288bbea7c9c83cb..b52cba61157a5658a59b6cae5495913a75e488ad 100644
--- a/mojo/edk/system/channel.cc
+++ b/mojo/edk/system/channel.cc
@@ -47,9 +47,7 @@ void Channel::Init(RefPtr<TaskRunner>&& io_task_runner,
// becomes thread-safe.
DCHECK(!is_running_);
raw_channel_ = std::move(raw_channel);
- // TODO(vtl): Add explicit |io_task_runner| and |io_watcher| arguments to
- // |RawChannel::Init()| and pass them on.
- raw_channel_->Init(this);
+ raw_channel_->Init(std::move(io_task_runner), io_watcher, this);
is_running_ = true;
}
« no previous file with comments | « no previous file | mojo/edk/system/master_connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698