Index: components/crash/content/app/fallback_crash_handler_win_unittest.cc |
diff --git a/components/crash/content/app/fallback_crash_handler_win_unittest.cc b/components/crash/content/app/fallback_crash_handler_win_unittest.cc |
index 13ca131f0204c80ae3b82f4d5e95d0649be88b0d..3a088b2584a90a2cedc73e5d8b50b98268fedcd7 100644 |
--- a/components/crash/content/app/fallback_crash_handler_win_unittest.cc |
+++ b/components/crash/content/app/fallback_crash_handler_win_unittest.cc |
@@ -169,8 +169,9 @@ TEST_F(FallbackCrashHandlerWinTest, GenerateCrashDump) { |
cmd_line.AppendSwitchPath("directory", database_dir_.GetPath()); |
base::LaunchOptions options; |
options.start_hidden = true; |
- base::Process test_child = base::SpawnMultiProcessTestChild( |
+ base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild( |
"FallbackCrashHandlerWinMain", cmd_line, options); |
+ base::Process test_child = std::move(spawn_result.process); |
ASSERT_TRUE(test_child.IsValid()); |
int exit_code = -1; |