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

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

Issue 1526923006: [mojo] Implement data pipe using a shared buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « no previous file | mojo/edk/system/data_pipe.h » ('j') | mojo/edk/system/data_pipe.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.cc
diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc
index 80e9815ac5f21808f7a401330ddbd90d65679a12..bd618cf42e8b31563f4285cec0e055e665412000 100644
--- a/mojo/edk/system/core.cc
+++ b/mojo/edk/system/core.cc
@@ -475,8 +475,10 @@ MojoResult Core::CreateDataPipe(
server_handle = channel_pair.PassServerHandle();
client_handle = channel_pair.PassClientHandle();
#endif
- producer_dispatcher->Init(std::move(server_handle), nullptr, 0u);
- consumer_dispatcher->Init(std::move(client_handle), nullptr, 0u);
+ producer_dispatcher->Init(std::move(server_handle), nullptr, 0u, nullptr, 0u,
+ ScopedPlatformHandle(), 0, 0);
+ consumer_dispatcher->Init(std::move(client_handle), nullptr, 0u, nullptr, 0u,
+ ScopedPlatformHandle(), 0, 0);
*data_pipe_producer_handle = handle_pair.first;
*data_pipe_consumer_handle = handle_pair.second;
« no previous file with comments | « no previous file | mojo/edk/system/data_pipe.h » ('j') | mojo/edk/system/data_pipe.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698