Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3597)

Unified Diff: components/nacl/renderer/ppb_nacl_private_impl.cc

Issue 2590853002: Revert of Convert NaCl renderer-loader messages to mojo. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/renderer/plugin/BUILD.gn ('k') | components/nacl/renderer/trusted_plugin_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85435b05bbb3ca36433470c8ca0b27c3722f7fdd..3ed3941722279b6a0facc09dae695c1afd51cfa0 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -541,11 +541,8 @@
bool is_helper_nexe = !PP_ToBool(main_service_runtime);
std::unique_ptr<TrustedPluginChannel> trusted_plugin_channel(
new TrustedPluginChannel(
- load_manager,
- mojo::MakeRequest<mojom::NaClRendererHost>(
- mojo::ScopedMessagePipeHandle(
- launch_result.trusted_ipc_channel_handle.mojo_handle)),
- is_helper_nexe));
+ load_manager, launch_result.trusted_ipc_channel_handle,
+ content::RenderThread::Get()->GetShutdownEvent(), is_helper_nexe));
load_manager->set_trusted_plugin_channel(std::move(trusted_plugin_channel));
} else {
PostPPCompletionCallback(callback, PP_ERROR_FAILED);
« no previous file with comments | « components/nacl/renderer/plugin/BUILD.gn ('k') | components/nacl/renderer/trusted_plugin_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698