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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.cc

Issue 360743002: Pepper: SelLdrLauncherChrome cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: ppapi/native_client/src/trusted/plugin/service_runtime.cc
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.cc b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
index 12ab43122bf1e9397aa92f1b9ef88a0796489aa5..2c1196d51be750c166dec38e54a65a8979b6265b 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -398,18 +398,20 @@ void ServiceRuntime::StartSelLdr(const SelLdrStartParams& params,
bool enable_dev_interfaces =
GetNaClInterface()->DevInterfacesEnabled(pp_instance_);
- tmp_subprocess->Start(pp_instance_,
- main_service_runtime_,
- params.url.c_str(),
- &params.file_info,
- params.uses_irt,
- params.uses_ppapi,
- uses_nonsfi_mode_,
- enable_dev_interfaces,
- params.enable_dyncode_syscalls,
- params.enable_exception_handling,
- params.enable_crash_throttling,
- callback);
+ GetNaClInterface()->LaunchSelLdr(
+ pp_instance_,
+ PP_FromBool(main_service_runtime_),
+ params.url.c_str(),
+ &params.file_info,
+ PP_FromBool(params.uses_irt),
+ PP_FromBool(params.uses_ppapi),
+ PP_FromBool(uses_nonsfi_mode_),
+ PP_FromBool(enable_dev_interfaces),
+ PP_FromBool(params.enable_dyncode_syscalls),
+ PP_FromBool(params.enable_exception_handling),
+ PP_FromBool(params.enable_crash_throttling),
+ tmp_subprocess->mutable_channel(),
+ callback.pp_completion_callback());
subprocess_.reset(tmp_subprocess.release());
}

Powered by Google App Engine
This is Rietveld 408576698