Index: base/memory/shared_memory_unittest.cc |
diff --git a/base/memory/shared_memory_unittest.cc b/base/memory/shared_memory_unittest.cc |
index 19dedccb4768ad01040aa73a90d722e32fe18f8e..d87fad01d3f0c83cc3c3534b7e4bacaf600dce68 100644 |
--- a/base/memory/shared_memory_unittest.cc |
+++ b/base/memory/shared_memory_unittest.cc |
@@ -682,16 +682,16 @@ TEST_F(SharedMemoryProcessTest, SharedMemoryAcrossProcesses) { |
// Start |kNumTasks| processes, each of which atomically increments the first |
// word by 1. |
- Process processes[kNumTasks]; |
+ SpawnChildResult children[kNumTasks]; |
for (int index = 0; index < kNumTasks; ++index) { |
- processes[index] = SpawnChild("SharedMemoryTestMain"); |
- ASSERT_TRUE(processes[index].IsValid()); |
+ children[index] = SpawnChild("SharedMemoryTestMain"); |
+ ASSERT_TRUE(children[index].process.IsValid()); |
} |
// Check that each process exited correctly. |
int exit_code = 0; |
for (int index = 0; index < kNumTasks; ++index) { |
- EXPECT_TRUE(processes[index].WaitForExit(&exit_code)); |
+ EXPECT_TRUE(children[index].process.WaitForExit(&exit_code)); |
EXPECT_EQ(0, exit_code); |
} |