mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:17:55 +00:00
Move fuchsia tests to new mx_object_get_info style
BUG= R=abarth@google.com, zra@google.com Review URL: https://codereview.chromium.org/2511983002 .
This commit is contained in:
parent
d37acd8e4a
commit
7125282478
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue