Index: components/crash/content/app/fallback_crash_handler_launcher_win_unittest.cc |
diff --git a/components/crash/content/app/fallback_crash_handler_launcher_win_unittest.cc b/components/crash/content/app/fallback_crash_handler_launcher_win_unittest.cc |
index c19ae79d17dca9ad4631a3b1fc5a6bca1a2350a8..07340432cece71376b7cc7b8a779de17f8191483 100644 |
--- a/components/crash/content/app/fallback_crash_handler_launcher_win_unittest.cc |
+++ b/components/crash/content/app/fallback_crash_handler_launcher_win_unittest.cc |
@@ -143,9 +143,10 @@ TEST_F(FallbackCrashHandlerLauncherTest, LaunchAndWaitForHandler) { |
// Because this process is heavily multithreaded it's going to be flaky |
// and generally fraught with peril to try and grab a minidump of it. |
// Instead, fire off a sacrificial process to do the testing. |
- base::Process test_process = SpawnChild("TestCrashHandlerLauncherMain"); |
+ base::SpawnChildResult spawn_child = |
+ SpawnChild("TestCrashHandlerLauncherMain"); |
int exit_code = 0; |
- ASSERT_TRUE(test_process.WaitForExit(&exit_code)); |
+ ASSERT_TRUE(spawn_child.process.WaitForExit(&exit_code)); |
ASSERT_EQ(0, exit_code); |
} |