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

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

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win release build. Created 3 years, 9 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/embedder/connection_params.cc ('k') | mojo/edk/embedder/embedder_unittest.cc » ('j') | no next file with comments »
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 d581e65381e676f40a647e338bd1da7c4695b5b9..0fdda5cd1c72bbf512f56ba07ab5f681b5f43241 100644
--- a/mojo/edk/embedder/embedder.cc
+++ b/mojo/edk/embedder/embedder.cc
@@ -44,7 +44,7 @@ void SetMaxMessageSize(size_t bytes) {
void SetParentPipeHandle(ScopedPlatformHandle pipe) {
CHECK(internal::g_core);
- internal::g_core->InitChild(std::move(pipe));
+ internal::g_core->InitChild(ConnectionParams(std::move(pipe)));
}
void SetParentPipeHandleFromCommandLine() {
« no previous file with comments | « mojo/edk/embedder/connection_params.cc ('k') | mojo/edk/embedder/embedder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698