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

Unified Diff: ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.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: ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
diff --git a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
index 8da1aeb3e10fa6bbac359b732ea39eddb10a7b80..a438fdd41119f637e3890c483e628fb8eb1c3415 100644
--- a/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
+++ b/ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc
@@ -11,11 +11,12 @@ LaunchNaClProcessFunc launch_nacl_process = NULL;
namespace plugin {
bool SelLdrLauncherChrome::Start(const char* url) {
- return Start(0, url, true, false);
+ return Start(0, url, true, false, true);
}
bool SelLdrLauncherChrome::Start(PP_Instance instance,
const char* url,
+ bool uses_irt,
bool uses_ppapi,
bool enable_ppapi_dev) {
if (!launch_nacl_process)
@@ -25,6 +26,7 @@ bool SelLdrLauncherChrome::Start(PP_Instance instance,
static const int kNumberOfChannelsToBeCreated = 1;
if (launch_nacl_process(instance,
url,
+ PP_FromBool(uses_irt),
PP_FromBool(uses_ppapi),
PP_FromBool(enable_ppapi_dev),
kNumberOfChannelsToBeCreated,

Powered by Google App Engine
This is Rietveld 408576698