Index: third_party/crashpad/crashpad/test/win/child_launcher.cc |
diff --git a/third_party/crashpad/crashpad/test/win/child_launcher.cc b/third_party/crashpad/crashpad/test/win/child_launcher.cc |
index e35f1cb8d315713167a9305f0cf1b3b11ce35fb9..4ab1c816803a51a0037f27d636da7250282f6733 100644 |
--- a/third_party/crashpad/crashpad/test/win/child_launcher.cc |
+++ b/third_party/crashpad/crashpad/test/win/child_launcher.cc |
@@ -89,8 +89,8 @@ void ChildLauncher::Start() { |
DWORD ChildLauncher::WaitForExit() { |
EXPECT_TRUE(process_handle_.is_valid()); |
- EXPECT_EQ(WAIT_OBJECT_0, |
- WaitForSingleObject(process_handle_.get(), INFINITE)); |
+ EXPECT_EQ(WaitForSingleObject(process_handle_.get(), INFINITE), |
+ WAIT_OBJECT_0); |
DWORD exit_code = 0; |
EXPECT_TRUE(GetExitCodeProcess(process_handle_.get(), &exit_code)); |
process_handle_.reset(); |