Index: sandbox/mac/sandbox_mac_compiler_v2_unittest.mm |
diff --git a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm |
index aba42edbc9478a7fe05f7a73c533ed5330ca8a33..adb9895c3efd9062ccbc9159f3b46e221d2a262a 100644 |
--- a/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm |
+++ b/sandbox/mac/sandbox_mac_compiler_v2_unittest.mm |
@@ -126,11 +126,11 @@ MULTIPROCESS_TEST_MAIN(V2ProfileProcess) { |
} |
TEST_F(SandboxMacCompilerV2Test, V2ProfileTest) { |
- base::Process process = SpawnChild("V2ProfileProcess"); |
- ASSERT_TRUE(process.IsValid()); |
+ base::SpawnChildResult spawn_child = SpawnChild("V2ProfileProcess"); |
+ ASSERT_TRUE(spawn_child.process.IsValid()); |
int exit_code = 42; |
- EXPECT_TRUE(process.WaitForExitWithTimeout(TestTimeouts::action_max_timeout(), |
- &exit_code)); |
+ EXPECT_TRUE(spawn_child.process.WaitForExitWithTimeout( |
+ TestTimeouts::action_max_timeout(), &exit_code)); |
EXPECT_EQ(exit_code, 0); |
} |