Index: content/common/sandbox_mac_unittest_helper.mm |
diff --git a/content/common/sandbox_mac_unittest_helper.mm b/content/common/sandbox_mac_unittest_helper.mm |
index 5988ffe6cfa0d77ebb63e95bb6fd52d0369b981d..b4b4a0abb89f19285cb453cc01ac78f123dbc52e 100644 |
--- a/content/common/sandbox_mac_unittest_helper.mm |
+++ b/content/common/sandbox_mac_unittest_helper.mm |
@@ -77,7 +77,8 @@ bool MacSandboxTest::RunTestInSandbox(SandboxType sandbox_type, |
if (test_data) |
setenv(kTestDataKey, test_data, 1); |
- base::Process child_process = SpawnChild("mac_sandbox_test_runner"); |
+ base::SpawnChildResult spawn_result = SpawnChild("mac_sandbox_test_runner"); |
+ base::Process child_process = std::move(spawn_result.process); |
if (!child_process.IsValid()) { |
LOG(WARNING) << "SpawnChild failed"; |
return false; |