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 5c47a5e73341b62b98a43d514dd642f74ffa96aa..7375887aa2efd306ca25d0024ec1ba76ef009578 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1867,8 +1867,10 @@ void RenderFrameHostImpl::RegisterMojoServices() { |
GetServiceRegistry()->AddService(base::Bind( |
&PresentationServiceImpl::CreateMojoService, base::Unretained(this))); |
- if (!frame_mojo_shell_) |
- frame_mojo_shell_.reset(new FrameMojoShell(this)); |
+ if (!frame_mojo_shell_) { |
+ frame_mojo_shell_.reset( |
+ new FrameMojoShell(this, permission_service_context_.get())); |
+ } |
GetServiceRegistry()->AddService<mojo::shell::mojom::Connector>(base::Bind( |
&FrameMojoShell::BindRequest, base::Unretained(frame_mojo_shell_.get()))); |