Index: cc/output/output_surface_unittest.cc |
diff --git a/cc/output/output_surface_unittest.cc b/cc/output/output_surface_unittest.cc |
index 633733265072318641ebe9ef09ca2468c8ae8328..1ca1d5a12ce152e0956a8d27073fce29d64560a2 100644 |
--- a/cc/output/output_surface_unittest.cc |
+++ b/cc/output/output_surface_unittest.cc |
@@ -166,20 +166,17 @@ TEST(OutputSurfaceTest, MemoryAllocation) { |
policy.priority_cutoff_when_visible = |
gpu::MemoryAllocation::CUTOFF_ALLOW_REQUIRED_ONLY; |
- context_provider->SetMemoryAllocation(policy); |
piman
2015/09/28 18:32:38
I assume the test will need to be updated to pass,
sohanjg
2015/09/29 14:19:26
Done.
|
EXPECT_EQ(1234u, client.memory_policy().bytes_limit_when_visible); |
EXPECT_EQ(gpu::MemoryAllocation::CUTOFF_ALLOW_REQUIRED_ONLY, |
client.memory_policy().priority_cutoff_when_visible); |
policy.priority_cutoff_when_visible = |
gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING; |
- context_provider->SetMemoryAllocation(policy); |
EXPECT_EQ(gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING, |
client.memory_policy().priority_cutoff_when_visible); |
// 0 bytes limit should be ignored. |
policy.bytes_limit_when_visible = 0; |
- context_provider->SetMemoryAllocation(policy); |
EXPECT_EQ(1234u, client.memory_policy().bytes_limit_when_visible); |
} |