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

Unified Diff: chrome/renderer/pepper/ppb_nacl_private_impl.cc

Issue 11761025: When launching PNaCl helper nexes, explicitly disable IRT loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rearrange parameter order, etc. Created 7 years, 12 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: chrome/renderer/pepper/ppb_nacl_private_impl.cc
diff --git a/chrome/renderer/pepper/ppb_nacl_private_impl.cc b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
index bb5abf6ee04332a94a9826a714f9ac6cfff66165..79f5518673405122976f3bfed6666540fcef6be7 100644
--- a/chrome/renderer/pepper/ppb_nacl_private_impl.cc
+++ b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
@@ -67,6 +67,7 @@ static int GetRoutingID(PP_Instance instance) {
// Launch NaCl's sel_ldr process.
PP_NaClResult LaunchSelLdr(PP_Instance instance,
const char* alleged_url,
+ PP_Bool uses_irt,
PP_Bool uses_ppapi,
PP_Bool enable_ppapi_dev,
int socket_count,
@@ -103,7 +104,9 @@ PP_NaClResult LaunchSelLdr(PP_Instance instance,
instance_info.url,
routing_id,
perm_bits,
- socket_count, &sockets,
+ PP_ToBool(uses_irt),
+ socket_count,
+ &sockets,
&instance_info.channel_handle,
&instance_info.plugin_child_id))) {
return PP_NACL_FAILED;

Powered by Google App Engine
This is Rietveld 408576698