Commit e4df2a0a authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

Clean up old Mojo types for mojom::ChildProcess

This CL cleans up old Mojo types for mojom::ChildProcess with
removing ChildProcessRequest.

Bug: 955171
Change-Id: I8b95086f4c3c2cc39d559ff32f983a0c60f335f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879629Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Reviewed-by: default avatarOksana Zhuravlova <oksamyt@chromium.org>
Commit-Queue: Julie Kim <jkim@igalia.com>
Cr-Commit-Position: refs/heads/master@{#709754}
parent 156e3be5
...@@ -1781,9 +1781,7 @@ void RenderProcessHostImpl::InitializeChannelProxy() { ...@@ -1781,9 +1781,7 @@ void RenderProcessHostImpl::InitializeChannelProxy() {
base::ThreadTaskRunnerHandle::Get()); base::ThreadTaskRunnerHandle::Get());
child_process_.reset(); child_process_.reset();
content::BindInterface( content::BindInterface(this, child_process_.BindNewPipeAndPassReceiver());
this,
mojom::ChildProcessRequest(child_process_.BindNewPipeAndPassReceiver()));
ResetChannelProxy(); ResetChannelProxy();
......
...@@ -179,9 +179,7 @@ bool ChildProcessHostImpl::InitChannel() { ...@@ -179,9 +179,7 @@ bool ChildProcessHostImpl::InitChannel() {
// here since the |delegate_| has already been initialized and this is the // here since the |delegate_| has already been initialized and this is the
// first potential use of the interface. // first potential use of the interface.
mojo::Remote<mojom::ChildProcess> bootstrap; mojo::Remote<mojom::ChildProcess> bootstrap;
content::BindInterface( content::BindInterface(this, child_process_.BindNewPipeAndPassReceiver());
this,
mojom::ChildProcessRequest(child_process_.BindNewPipeAndPassReceiver()));
child_process_->Initialize(bootstrap_receiver_.BindNewPipeAndPassRemote()); child_process_->Initialize(bootstrap_receiver_.BindNewPipeAndPassRemote());
// Make sure these messages get sent first. // Make sure these messages get sent first.
......
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