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

Unified Diff: runtime/bin/run_vm_tests_fuchsia.cc

Issue 2475083002: Use the new mx_object_get_info parameter ordering (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 e9b7121f32b40f7e2727610994f24e2aeaeb14e1..3c7242201189fa6f1c768649a28a9b43ce776a8b 100644
--- a/runtime/bin/run_vm_tests_fuchsia.cc
+++ b/runtime/bin/run_vm_tests_fuchsia.cc
@@ -269,9 +269,11 @@ static int run_test(mx_handle_t binary_vmo, const char* test_name,
RETURN_IF_ERROR(r);
mx_info_process_t proc_info;
- mx_ssize_t info_size = mx_object_get_info(
- p, MX_INFO_PROCESS, sizeof(proc_info.rec), &proc_info, sizeof(proc_info));
- RETURN_IF_ERROR(info_size);
+ 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);
+ RETURN_IF_ERROR(status);
r = mx_handle_close(p);
RETURN_IF_ERROR(r);
« 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