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

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

Issue 486383002: Pepper: Make trusted plugin channel sync again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 months 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/loader/nonsfi/nonsfi_listener.cc ('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 bab0ae570f45c3f381ae155ef6c635027327d1b9..fa6ce7026eb8bbc5175d93a2d9a146fa4ea4a0f7 100644
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc
@@ -423,7 +423,8 @@ void LaunchSelLdr(PP_Instance instance,
if (IsValidChannelHandle(launch_result.trusted_ipc_channel_handle)) {
scoped_ptr<TrustedPluginChannel> trusted_plugin_channel(
new TrustedPluginChannel(
- launch_result.trusted_ipc_channel_handle));
+ launch_result.trusted_ipc_channel_handle,
+ content::RenderThread::Get()->GetShutdownEvent()));
load_manager->set_trusted_plugin_channel(trusted_plugin_channel.Pass());
} else {
PostPPCompletionCallback(callback, PP_ERROR_FAILED);
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_listener.cc ('k') | components/nacl/renderer/trusted_plugin_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698