Index: base/debug/stack_trace_unittest.cc |
diff --git a/base/debug/stack_trace_unittest.cc b/base/debug/stack_trace_unittest.cc |
index eb0bd9ad7f3c2055bff5f4db1930d399f7833eb5..b07fcdbb09a6a525c9d65acfbee06f2e4a387a89 100644 |
--- a/base/debug/stack_trace_unittest.cc |
+++ b/base/debug/stack_trace_unittest.cc |
@@ -146,9 +146,10 @@ MULTIPROCESS_TEST_MAIN(MismatchedMallocChildProcess) { |
// and e.g. mismatched new[]/delete would cause a hang because |
// of re-entering malloc. |
TEST_F(StackTraceTest, AsyncSignalUnsafeSignalHandlerHang) { |
- ProcessHandle child = SpawnChild("MismatchedMallocChildProcess"); |
- ASSERT_NE(kNullProcessHandle, child); |
- ASSERT_TRUE(WaitForSingleProcess(child, TestTimeouts::action_timeout())); |
+ Process child = SpawnChild("MismatchedMallocChildProcess"); |
+ ASSERT_TRUE(child.IsValid()); |
+ ASSERT_TRUE(WaitForSingleProcess(child.Handle(), |
+ TestTimeouts::action_timeout())); |
} |
#endif // !defined(OS_IOS) |