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

Unified Diff: runtime/bin/run_vm_tests_fuchsia.cc

Issue 2319363002: Update for mx_object_get_info() changes. (Closed)
Patch Set: Created 4 years, 3 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/run_vm_tests_fuchsia.cc
diff --git a/runtime/bin/run_vm_tests_fuchsia.cc b/runtime/bin/run_vm_tests_fuchsia.cc
index 328323e7e30f5e72dbd7c2016b7f96c652beee7d..4525a7f02786488da7f2940e6b73b1c720d13159 100644
--- a/runtime/bin/run_vm_tests_fuchsia.cc
+++ b/runtime/bin/run_vm_tests_fuchsia.cc
@@ -272,14 +272,14 @@ static int run_test(mx_handle_t binary_vmo, const char* test_name,
p, MX_SIGNAL_SIGNALED, MX_TIME_INFINITE, &state);
RETURN_IF_ERROR(r);
- mx_process_info_t proc_info;
+ mx_info_process_t proc_info;
mx_ssize_t info_size = mx_object_get_info(
- p, MX_INFO_PROCESS, &proc_info, sizeof(proc_info));
+ p, MX_INFO_PROCESS, sizeof(proc_info.rec), &proc_info, sizeof(proc_info));
RETURN_IF_ERROR(info_size);
r = mx_handle_close(p);
RETURN_IF_ERROR(r);
- return proc_info.return_code;
+ return proc_info.rec.return_code;
}
« 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