| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index fcce8b3b44e4878747a2da04e027a54b3eade2d5..40c9e454046aeee2d51845f26bba61569d274849 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -2394,14 +2394,12 @@ void RenderFrameHostImpl::SetUpMojoIfNeeded() {
|
| return;
|
|
|
| interface_registry_.reset(new shell::InterfaceRegistry(nullptr));
|
| - if (!GetProcess()->GetServiceRegistry())
|
| + if (!GetProcess()->GetRemoteInterfaces())
|
| return;
|
|
|
| RegisterMojoInterfaces();
|
| mojom::FrameFactoryPtr frame_factory;
|
| - GetProcess()->GetServiceRegistry()->ConnectToRemoteService(
|
| - mojo::GetProxy(&frame_factory));
|
| -
|
| + GetProcess()->GetRemoteInterfaces()->GetInterface(&frame_factory);
|
| frame_factory->CreateFrame(routing_id_, GetProxy(&frame_),
|
| frame_host_binding_.CreateInterfacePtrAndBind());
|
|
|
|
|