| Index: content/browser/memory/memory_coordinator_impl_unittest.cc
|
| diff --git a/content/browser/memory/memory_coordinator_impl_unittest.cc b/content/browser/memory/memory_coordinator_impl_unittest.cc
|
| index f7316140954212f2fbf4e5ca7a115cc90604fc21..8663ae207e68d610c3819ba0f76e15dccf4865d6 100644
|
| --- a/content/browser/memory/memory_coordinator_impl_unittest.cc
|
| +++ b/content/browser/memory/memory_coordinator_impl_unittest.cc
|
| @@ -552,8 +552,12 @@ TEST_F(MemoryCoordinatorImplTest, MAYBE_GetStateForProcess) {
|
|
|
| coordinator_->CreateChildMemoryCoordinator(1);
|
| coordinator_->CreateChildMemoryCoordinator(2);
|
| - base::Process process1 = SpawnChild("process1");
|
| - base::Process process2 = SpawnChild("process2");
|
| +
|
| + base::SpawnChildResult spawn_result1 = SpawnChild("process1");
|
| + base::Process& process1 = spawn_result1.process;
|
| + base::SpawnChildResult spawn_result2 = SpawnChild("process2");
|
| + base::Process& process2 = spawn_result2.process;
|
| +
|
| coordinator_->GetMockRenderProcessHost(1)->SetProcessHandle(
|
| base::MakeUnique<base::ProcessHandle>(process1.Handle()));
|
| coordinator_->GetMockRenderProcessHost(2)->SetProcessHandle(
|
|
|