Index: components/nacl/browser/nacl_host_message_filter.cc |
diff --git a/components/nacl/browser/nacl_host_message_filter.cc b/components/nacl/browser/nacl_host_message_filter.cc |
index 94d8ae810d315b03a622cc1eada830159dc15a3f..063d43e2fb847d598852aa8d960ee84c6ac3c362 100644 |
--- a/components/nacl/browser/nacl_host_message_filter.cc |
+++ b/components/nacl/browser/nacl_host_message_filter.cc |
@@ -141,10 +141,15 @@ void NaClHostMessageFilter::LaunchNaClContinuation( |
const nacl::NaClLaunchParams& launch_params, |
IPC::Message* reply_msg, |
ppapi::PpapiPermissions permissions) { |
+ NaClFileToken nexe_token = { |
+ launch_params.nexe_token_lo, // lo |
+ launch_params.nexe_token_hi // hi |
+ }; |
NaClProcessHost* host = new NaClProcessHost( |
GURL(launch_params.manifest_url), |
base::File( |
Mark Seaborn
2014/07/02 23:48:36
Putting launch_params.nexe_file into a base::File
teravest
2014/07/07 22:48:47
Thanks for catching this! I agree that using ::Dup
|
IPC::PlatformFileForTransitToPlatformFile(launch_params.nexe_file)), |
+ nexe_token, |
permissions, |
launch_params.render_view_id, |
launch_params.permission_bits, |