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

Unified Diff: runtime/bin/run_vm_tests_fuchsia.cc

Issue 2511983002: Move fuchsia tests to new mx_object_get_info style (Closed)
Patch Set: Created 4 years, 1 month 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 0424f8a04679bca4197fd05d7c681521197dc4b6..71cf5c35bb87e5adcfd2a1bb589a648432b5fd31 100644
--- a/runtime/bin/run_vm_tests_fuchsia.cc
+++ b/runtime/bin/run_vm_tests_fuchsia.cc
@@ -276,15 +276,13 @@ static int run_test(mx_handle_t binary_vmo,
RETURN_IF_ERROR(r);
mx_info_process_t proc_info;
- mx_size_t info_size;
- mx_status_t status =
- mx_object_get_info(p, MX_INFO_PROCESS, sizeof(proc_info.rec), &proc_info,
- sizeof(proc_info), &info_size);
+ mx_status_t status = mx_object_get_info(p, MX_INFO_PROCESS, &proc_info,
+ sizeof(proc_info), nullptr, nullptr);
RETURN_IF_ERROR(status);
r = mx_handle_close(p);
RETURN_IF_ERROR(r);
- return proc_info.rec.return_code;
+ return proc_info.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