Index: components/nacl/renderer/ppb_nacl_private_impl.cc |
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc |
index 3ed3941722279b6a0facc09dae695c1afd51cfa0..85435b05bbb3ca36433470c8ca0b27c3722f7fdd 100644 |
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc |
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc |
@@ -541,8 +541,11 @@ void PPBNaClPrivate::LaunchSelLdr( |
bool is_helper_nexe = !PP_ToBool(main_service_runtime); |
std::unique_ptr<TrustedPluginChannel> trusted_plugin_channel( |
new TrustedPluginChannel( |
- load_manager, launch_result.trusted_ipc_channel_handle, |
- content::RenderThread::Get()->GetShutdownEvent(), is_helper_nexe)); |
+ load_manager, |
+ mojo::MakeRequest<mojom::NaClRendererHost>( |
+ mojo::ScopedMessagePipeHandle( |
+ launch_result.trusted_ipc_channel_handle.mojo_handle)), |
+ is_helper_nexe)); |
load_manager->set_trusted_plugin_channel(std::move(trusted_plugin_channel)); |
} else { |
PostPPCompletionCallback(callback, PP_ERROR_FAILED); |