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

Unified Diff: components/nacl/browser/nacl_host_message_filter.cc

Issue 332463003: Pepper: Remove LOAD_MODULE SRPC call in SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for jvoung and hidehiko Created 6 years, 6 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
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,

Powered by Google App Engine
This is Rietveld 408576698