| Index: content/browser/memory/memory_coordinator_unittest.cc
|
| diff --git a/content/browser/memory/memory_coordinator_unittest.cc b/content/browser/memory/memory_coordinator_unittest.cc
|
| index 236d3b7ee3f9f6980860896804b552414e3941eb..6b88b852da53299e3270a24e427271821b953ef4 100644
|
| --- a/content/browser/memory/memory_coordinator_unittest.cc
|
| +++ b/content/browser/memory/memory_coordinator_unittest.cc
|
| @@ -133,7 +133,9 @@ TEST_F(MemoryCoordinatorTest, SetMemoryStateDelivered) {
|
|
|
| EXPECT_TRUE(mc.SetChildMemoryState(2, mojom::MemoryState::SUSPENDED));
|
| EXPECT_EQ(1, cmc2->on_state_change_calls());
|
| - EXPECT_EQ(mojom::MemoryState::SUSPENDED, cmc2->state());
|
| + // Child processes are considered as visible (foreground) by default,
|
| + // and visible ones won't be suspended but throttled.
|
| + EXPECT_EQ(mojom::MemoryState::THROTTLED, cmc2->state());
|
| }
|
|
|
| } // namespace content
|
|
|