Commit 5a6db13a authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Commit Bot

Replace remaining ref to ChildProcessRequest

As part of the Mojo migration, there was a remaining reference to
mojo::ChildProcessRequest from the content/common/child_process.mojom
interface.

Bug: 955171
Change-Id: Ic79fdcecca3f4cce29be5f027992999731f69ab7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1796804Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/master@{#695552}
parent 1e14fede
......@@ -62,6 +62,7 @@
#include "ipc/ipc_sync_channel.h"
#include "ipc/ipc_sync_message_filter.h"
#include "mojo/core/embedder/scoped_ipc_support.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "mojo/public/cpp/platform/named_platform_channel.h"
#include "mojo/public/cpp/platform/platform_channel.h"
......@@ -415,13 +416,13 @@ void BindChildProcessImpl(
base::RepeatingClosure quit_closure,
ChildThreadImpl::Options::ServiceBinder service_binder,
mojo::PendingReceiver<mojom::ChildProcessHost> host_receiver,
mojom::ChildProcessRequest request) {
mojo::PendingReceiver<mojom::ChildProcess> receiver) {
mojo::MakeSelfOwnedReceiver<mojom::ChildProcess>(
std::make_unique<ChildProcessImpl>(
std::move(main_thread_task_runner), std::move(weak_main_thread),
std::move(quit_closure), std::move(service_binder),
std::move(host_receiver)),
std::move(request));
std::move(receiver));
}
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment