Index: chrome/common/component_flash_hint_file_linux_unittest.cc |
diff --git a/chrome/common/component_flash_hint_file_linux_unittest.cc b/chrome/common/component_flash_hint_file_linux_unittest.cc |
index fa3fa1f258433b42ee3da99d66a2a0cdd91c13bb..d67adb8ba962e77d3d17e9eab72ee5a7babc090e 100644 |
--- a/chrome/common/component_flash_hint_file_linux_unittest.cc |
+++ b/chrome/common/component_flash_hint_file_linux_unittest.cc |
@@ -157,7 +157,8 @@ MULTIPROCESS_TEST_MAIN(NoExecMountTest) { |
} |
TEST_F(ComponentFlashHintFileTest, ExecTest2) { |
- base::Process process = SpawnChild("NoExecMountTest"); |
+ base::SpawnChildResult spawn_result = SpawnChild("NoExecMountTest"); |
+ base::Process process(std::move(spawn_result.process)); |
ASSERT_TRUE(process.IsValid()); |
int exit_code = 42; |
ASSERT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), |