| Index: content/common/sandbox_mac_diraccess_unittest.mm
|
| diff --git a/content/common/sandbox_mac_diraccess_unittest.mm b/content/common/sandbox_mac_diraccess_unittest.mm
|
| index 828395fc744e2dbe416cb1d3cb0393569dbd2f13..5cf973f0f596740df2aff5bf4d01cd557784ce84 100644
|
| --- a/content/common/sandbox_mac_diraccess_unittest.mm
|
| +++ b/content/common/sandbox_mac_diraccess_unittest.mm
|
| @@ -39,13 +39,13 @@ class MacDirAccessSandboxTest : public base::MultiProcessTest {
|
| public:
|
| bool CheckSandbox(const std::string& directory_to_try) {
|
| setenv(kSandboxAccessPathKey, directory_to_try.c_str(), 1);
|
| - base::Process child_process = SpawnChild("mac_sandbox_path_access");
|
| - if (!child_process.IsValid()) {
|
| + base::SpawnChildResult spawn_child = SpawnChild("mac_sandbox_path_access");
|
| + if (!spawn_child.process.IsValid()) {
|
| LOG(WARNING) << "SpawnChild failed";
|
| return false;
|
| }
|
| int code = -1;
|
| - if (!child_process.WaitForExit(&code)) {
|
| + if (!spawn_child.process.WaitForExit(&code)) {
|
| LOG(WARNING) << "Process::WaitForExit failed";
|
| return false;
|
| }
|
|
|