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

Unified Diff: mojo/edk/embedder/embedder_unittest.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/embedder.cc ('k') | mojo/edk/embedder/pending_process_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/embedder_unittest.cc
diff --git a/mojo/edk/embedder/embedder_unittest.cc b/mojo/edk/embedder/embedder_unittest.cc
index 2eb6bebb9deb53ca539dfb5c9dab69a6e5e5f9a8..d5a87e54f99b96e238ac97de39be7944f6928ae2 100644
--- a/mojo/edk/embedder/embedder_unittest.cc
+++ b/mojo/edk/embedder/embedder_unittest.cc
@@ -210,7 +210,8 @@ TEST_F(EmbedderTest, PipeSetup_LaunchDeath) {
PendingProcessConnection process;
std::string pipe_token;
ScopedMessagePipeHandle parent_mp = process.CreateMessagePipe(&pipe_token);
- process.Connect(base::GetCurrentProcessHandle(), pair.PassServerHandle());
+ process.Connect(base::GetCurrentProcessHandle(),
+ ConnectionParams(pair.PassServerHandle()));
// Close the remote end, simulating child death before the child connects to
// the reserved port.
« no previous file with comments | « mojo/edk/embedder/embedder.cc ('k') | mojo/edk/embedder/pending_process_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698