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 acb7916dafaa6adc64f982046ca89ddb0ebc838d..45250154e3407d0fad15486caf091766d416ba81 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -2881,12 +2881,9 @@ void RenderFrameHostImpl::SetUpMojoIfNeeded() { |
weak_ptr_factory_.GetWeakPtr())); |
} |
- if (!GetProcess()->GetRemoteInterfaces()) |
- return; |
- |
RegisterMojoInterfaces(); |
mojom::FrameFactoryPtr frame_factory; |
- GetProcess()->GetRemoteInterfaces()->GetInterface(&frame_factory); |
+ BindInterface(GetProcess(), &frame_factory); |
frame_factory->CreateFrame(routing_id_, MakeRequest(&frame_), |
frame_host_binding_.CreateInterfacePtrAndBind()); |