Commit 561e62bd authored by Minoru Chikamune's avatar Minoru Chikamune Committed by Commit Bot

[MBI] Use per-AgentSchedulingGroup task runners for AssociatedInterfaceProvider

Previously, AssociatedInterfaceProvider was using per-thread task runners implicitly. This CL specifies per-Agent task runners.

Bug: 1105403
Change-Id: I14adef7939c48916e1d239482dbeaa19e03e8c9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505258Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Minoru Chikamune <chikamune@chromium.org>
Cr-Commit-Position: refs/heads/master@{#822498}
parent 127acf67
...@@ -742,7 +742,9 @@ RenderFrameProxy::GetRemoteAssociatedInterfaces() { ...@@ -742,7 +742,9 @@ RenderFrameProxy::GetRemoteAssociatedInterfaces() {
routing_id_, remote_interfaces.InitWithNewEndpointAndPassReceiver()); routing_id_, remote_interfaces.InitWithNewEndpointAndPassReceiver());
remote_associated_interfaces_ = remote_associated_interfaces_ =
std::make_unique<blink::AssociatedInterfaceProvider>( std::make_unique<blink::AssociatedInterfaceProvider>(
std::move(remote_interfaces)); std::move(remote_interfaces),
agent_scheduling_group_.agent_group_scheduler()
.DefaultTaskRunner());
} }
return remote_associated_interfaces_.get(); return remote_associated_interfaces_.get();
} }
......
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