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

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

Issue 2735113003: Changing SpawnChild to return a struct.
Patch Set: 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/parcelable_channel.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..4c085d929d3e1af7541874aad311371f21ae2ebd 100644
--- a/mojo/edk/embedder/embedder_unittest.cc
+++ b/mojo/edk/embedder/embedder_unittest.cc
@@ -206,11 +206,12 @@ TEST_F(EmbedderTest, PipeSetup) {
TEST_F(EmbedderTest, PipeSetup_LaunchDeath) {
PlatformChannelPair pair;
+ ConnectionParam connection_param(pair.PassServerHandle());
PendingProcessConnection process;
std::string pipe_token;
ScopedMessagePipeHandle parent_mp = process.CreateMessagePipe(&pipe_token);
- process.Connect(base::GetCurrentProcessHandle(), pair.PassServerHandle());
+ process.Connect(base::GetCurrentProcessHandle(), std::move(connection_param));
// 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/parcelable_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698