| Index: base/mac/mach_port_broker_unittest.cc
|
| diff --git a/base/mac/mach_port_broker_unittest.cc b/base/mac/mach_port_broker_unittest.cc
|
| index bff8eb6a9bc946d9e46e04c007b7d8d52fbc66c2..076d26d7de65f56e54b9e55b680a41ed3e7dda81 100644
|
| --- a/base/mac/mach_port_broker_unittest.cc
|
| +++ b/base/mac/mach_port_broker_unittest.cc
|
| @@ -95,8 +95,9 @@ TEST_F(MachPortBrokerTest, ReceivePortFromChild) {
|
| CommandLine command_line(
|
| base::GetMultiProcessTestChildBaseCommandLine());
|
| broker_.GetLock().Acquire();
|
| - base::Process test_child_process = base::SpawnMultiProcessTestChild(
|
| + base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild(
|
| "MachPortBrokerTestChild", command_line, LaunchOptions());
|
| + base::Process test_child_process = std::move(spawn_result.process);
|
| broker_.AddPlaceholderForPid(test_child_process.Handle());
|
| broker_.GetLock().Release();
|
|
|
| @@ -117,8 +118,10 @@ TEST_F(MachPortBrokerTest, ReceivePortFromChildWithoutAdding) {
|
| CommandLine command_line(
|
| base::GetMultiProcessTestChildBaseCommandLine());
|
| broker_.GetLock().Acquire();
|
| - base::Process test_child_process = base::SpawnMultiProcessTestChild(
|
| + base::SpawnChildResult spawn_result = base::SpawnMultiProcessTestChild(
|
| "MachPortBrokerTestChild", command_line, LaunchOptions());
|
| + base::Process test_child_process = std::move(spawn_result.process);
|
| +
|
| broker_.GetLock().Release();
|
|
|
| int rv = -1;
|
|
|