Index: content/browser/mach_broker_mac_unittest.cc |
diff --git a/content/browser/mach_broker_mac_unittest.cc b/content/browser/mach_broker_mac_unittest.cc |
index 261f500a5635d4474e182b679aa9dc858007ddd5..83575d1e8fa8b46af62ce6847ae738b4b0070c2e 100644 |
--- a/content/browser/mach_broker_mac_unittest.cc |
+++ b/content/browser/mach_broker_mac_unittest.cc |
@@ -45,9 +45,10 @@ class MachBrokerTest : public testing::Test, |
base::Process LaunchTestChild(const std::string& function, |
int child_process_id) { |
base::AutoLock lock(broker_.GetLock()); |
- base::Process test_child_process = base::SpawnMultiProcessTestChild( |
+ base::SpawnChildResult spaw_result = base::SpawnMultiProcessTestChild( |
function, base::GetMultiProcessTestChildBaseCommandLine(), |
base::LaunchOptions()); |
+ base::Process test_child_process = std::move(spaw_result.process); |
broker_.AddPlaceholderForPid(test_child_process.Handle(), child_process_id); |
return test_child_process; |
} |