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

Unified Diff: runtime/bin/process_fuchsia.cc

Issue 2713523005: [Fuchsia] Update to the newest spelling of launchpad calls (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_fuchsia.cc
diff --git a/runtime/bin/process_fuchsia.cc b/runtime/bin/process_fuchsia.cc
index 865ce0c387362faf2bc9119e6dad83d5ad5699e1..e766131fc7d99abda1d413838b3690cfcf39fa19 100644
--- a/runtime/bin/process_fuchsia.cc
+++ b/runtime/bin/process_fuchsia.cc
@@ -740,12 +740,12 @@ class ProcessStarter {
// Set up the launchpad.
launchpad_t* lp = NULL;
launchpad_create(job, program_arguments_[0], &lp);
- launchpad_arguments(lp, program_arguments_count_, program_arguments_);
- launchpad_environ(lp, program_environment_);
- launchpad_clone_mxio_root(lp);
+ launchpad_set_args(lp, program_arguments_count_, program_arguments_);
+ launchpad_set_environ(lp, program_environment_);
+ launchpad_clone(lp, LP_CLONE_MXIO_ROOT);
// TODO(zra): Use the supplied working directory when launchpad adds an
// API to set it.
- launchpad_clone_mxio_cwd(lp);
+ launchpad_clone(lp, LP_CLONE_MXIO_CWD);
launchpad_add_pipe(lp, &write_out_, 0);
launchpad_add_pipe(lp, &read_in_, 1);
launchpad_add_pipe(lp, &read_err_, 2);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698