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

Unified Diff: runtime/bin/run_vm_tests_fuchsia.cc

Issue 2628213002: Fuchsia: Fix deprecated jobs call (Closed)
Patch Set: Created 3 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
« no previous file with comments | « runtime/bin/process_fuchsia.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/run_vm_tests_fuchsia.cc
diff --git a/runtime/bin/run_vm_tests_fuchsia.cc b/runtime/bin/run_vm_tests_fuchsia.cc
index e7d4015dc3eb3bf4fcb703d27b755b5feba030f3..da8e19cfe7ee254d9ffdd500e154dc34e80d1edd 100644
--- a/runtime/bin/run_vm_tests_fuchsia.cc
+++ b/runtime/bin/run_vm_tests_fuchsia.cc
@@ -134,8 +134,7 @@ static mx_status_t lp_setup(launchpad_t** lp_out,
launchpad_t* lp;
mx_status_t status;
mx_handle_t job = MX_HANDLE_INVALID;
- status =
- mx_handle_duplicate(launchpad_get_mxio_job(), MX_RIGHT_SAME_RIGHTS, &job);
+ status = mx_handle_duplicate(mx_job_default(), MX_RIGHT_SAME_RIGHTS, &job);
RETURN_IF_ERROR(status);
status = launchpad_create(job, argv[0], &lp);
RETURN_IF_ERROR(status);
« no previous file with comments | « runtime/bin/process_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698