Index: content/common/gpu/gpu_memory_manager_unittest.cc |
diff --git a/content/common/gpu/gpu_memory_manager_unittest.cc b/content/common/gpu/gpu_memory_manager_unittest.cc |
index b9c3727f39eaa5489359e3ab4170bfc7e351c22a..be9a974bd00d54aaff02a57257766ee33da57d7d 100644 |
--- a/content/common/gpu/gpu_memory_manager_unittest.cc |
+++ b/content/common/gpu/gpu_memory_manager_unittest.cc |
@@ -924,7 +924,6 @@ TEST_F(GpuMemoryManagerTestNonuniform, BackgroundMru) { |
EXPECT_GE(stub3.BytesWhenVisible(), 23u); |
EXPECT_LT(stub1.BytesWhenVisible(), 32u); |
EXPECT_LT(stub2.BytesWhenVisible(), 32u); |
- EXPECT_LT(stub3.BytesWhenVisible(), 32u); |
EXPECT_GE(stub1.BytesWhenNotVisible(), 6u); |
EXPECT_GE(stub2.BytesWhenNotVisible(), 6u); |
EXPECT_GE(stub3.BytesWhenNotVisible(), 6u); |
@@ -1041,10 +1040,10 @@ TEST_F(GpuMemoryManagerTestNonuniform, DefaultAllocation) { |
FakeClient stub1(&memmgr_, GenerateUniqueSurfaceId(), true); |
- // Expect that a client which has not sent stats receive the |
- // default allocation. |
+ // Expect that a client which has not sent stats receive at |
+ // least the default allocation. |
Manage(); |
- EXPECT_EQ(stub1.BytesWhenVisible(), |
+ EXPECT_GE(stub1.BytesWhenVisible(), |
memmgr_.GetDefaultClientAllocation()); |
EXPECT_EQ(stub1.BytesWhenNotVisible(), 0u); |
} |