summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2021-05-06 14:34:31 (GMT)
committerCJ Johnson <johnsoncj@google.com>2021-05-13 19:08:17 (GMT)
commitf381758e2989d09509f6642414752805bd4d7a62 (patch)
treeeb8bdd3882d7e0b882883ed419b436bbf49a169f /googletest
parent7e5a3a574ef454915c960b45a360cf2dfdb7c859 (diff)
downloadgoogletest-f381758e2989d09509f6642414752805bd4d7a62.zip
googletest-f381758e2989d09509f6642414752805bd4d7a62.tar.gz
googletest-f381758e2989d09509f6642414752805bd4d7a62.tar.bz2
Googletest export
This callsite was previously updated to use ZX_INFO_PROCESS_V2 as a part of a soft transition. It is now time to revert back to `ZX_INFO_PROCESS` (which is now an alias of the former). See fxbug.dev/30751 for more details. PiperOrigin-RevId: 372339833
Diffstat (limited to 'googletest')
-rw-r--r--googletest/src/gtest-death-test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc
index d3d5feb..bf4f633 100644
--- a/googletest/src/gtest-death-test.cc
+++ b/googletest/src/gtest-death-test.cc
@@ -953,9 +953,9 @@ int FuchsiaDeathTest::Wait() {
ReadAndInterpretStatusByte();
- zx_info_process_v2_t buffer;
- status_zx = child_process_.get_info(
- ZX_INFO_PROCESS_V2, &buffer, sizeof(buffer), nullptr, nullptr);
+ zx_info_process_t buffer;
+ status_zx = child_process_.get_info(ZX_INFO_PROCESS, &buffer, sizeof(buffer),
+ nullptr, nullptr);
GTEST_DEATH_TEST_CHECK_(status_zx == ZX_OK);
GTEST_DEATH_TEST_CHECK_(buffer.flags & ZX_INFO_PROCESS_FLAG_EXITED);