Index: mojo/edk/embedder/pending_process_connection.cc |
diff --git a/mojo/edk/embedder/pending_process_connection.cc b/mojo/edk/embedder/pending_process_connection.cc |
index 8ab58727931f98a93f77735ac6eb37b654ada07b..e1ab251a54639f9bd9001230fe2df03c8e77068c 100644 |
--- a/mojo/edk/embedder/pending_process_connection.cc |
+++ b/mojo/edk/embedder/pending_process_connection.cc |
@@ -33,7 +33,7 @@ ScopedMessagePipeHandle PendingProcessConnection::CreateMessagePipe( |
void PendingProcessConnection::Connect( |
base::ProcessHandle process, |
- ScopedPlatformHandle channel, |
+ ConnectionParam connection_param, |
const ProcessErrorCallback& error_callback) { |
// It's now safe to avoid cleanup in the destructor, as the lifetime of any |
// associated resources is effectively bound to the |channel| passed to |
@@ -42,8 +42,8 @@ void PendingProcessConnection::Connect( |
connected_ = true; |
DCHECK(internal::g_core); |
- internal::g_core->AddChild(process, std::move(channel), process_token_, |
- error_callback); |
+ internal::g_core->AddChild(process, std::move(connection_param), |
+ process_token_, error_callback); |
} |
} // namespace edk |