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

Unified Diff: mojo/edk/embedder/embedder.cc

Issue 885453003: Remove ChannelManager::AddChannel(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « no previous file | mojo/edk/system/channel_manager.h » ('j') | mojo/edk/system/channel_manager_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/embedder.cc
diff --git a/mojo/edk/embedder/embedder.cc b/mojo/edk/embedder/embedder.cc
index eca7ce27f11312787a34a7626d7f6439171ec530..1b3fabda47214e7522f37efdea0d4c47f95f096f 100644
--- a/mojo/edk/embedder/embedder.cc
+++ b/mojo/edk/embedder/embedder.cc
@@ -145,8 +145,8 @@ ScopedMessagePipeHandle CreateChannel(
base::Passed(&channel_info), channel_endpoint, callback,
callback_thread_task_runner));
} else {
- (callback_thread_task_runner.get() ? callback_thread_task_runner
- : io_thread_task_runner)
+ (callback_thread_task_runner ? callback_thread_task_runner
+ : io_thread_task_runner)
->PostTask(FROM_HERE, base::Bind(callback, channel_info.release()));
}
« no previous file with comments | « no previous file | mojo/edk/system/channel_manager.h » ('j') | mojo/edk/system/channel_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698