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

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

Issue 311273007: Pepper: Clean up trusted plugin error reporting. (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 b1868326edf3ee1b40091aafca01356a8709cbe4..272bbabebcb18fa79ea7e9bc49e3b084cef88410 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.cc
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.cc
@@ -617,13 +617,16 @@ void ServiceRuntime::StartSelLdr(const SelLdrStartParams& params,
ManifestService* manifest_service =
new ManifestService(anchor_->Ref(), rev_interface_);
+ bool enable_dev_interfaces =
+ GetNaClInterface()->DevInterfacesEnabled(plugin_->pp_instance());
+
tmp_subprocess->Start(plugin_->pp_instance(),
main_service_runtime_,
params.url.c_str(),
params.uses_irt,
params.uses_ppapi,
params.uses_nonsfi_mode,
- params.enable_dev_interfaces,
+ enable_dev_interfaces,
params.enable_dyncode_syscalls,
params.enable_exception_handling,
params.enable_crash_throttling,

Powered by Google App Engine
This is Rietveld 408576698