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

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: don't forget to serialize Created 7 years, 11 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 022255846ece7de1b0a765bd456536c11249cbb3..b625dcdb27e78b0e60aa41a5019263c0dffa4677 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, true, false);
}
bool SelLdrLauncherChrome::Start(PP_Instance instance,
const char* url,
+ bool uses_irt,
bool uses_ppapi,
bool enable_ppapi_dev) {
if (!launch_nacl_process)
@@ -23,6 +24,7 @@ bool SelLdrLauncherChrome::Start(PP_Instance instance,
// send a synchronous message to the browser process
if (launch_nacl_process(instance,
url,
+ PP_FromBool(uses_irt),
PP_FromBool(uses_ppapi),
PP_FromBool(enable_ppapi_dev),
&channel_) != PP_NACL_OK) {

Powered by Google App Engine
This is Rietveld 408576698