Index: cc/layers/texture_layer_impl_unittest.cc |
diff --git a/cc/layers/texture_layer_impl_unittest.cc b/cc/layers/texture_layer_impl_unittest.cc |
index 5320fcc77f19ff5cda0d9b60cd01b6519722d002..cbe80e161d9d6a1c562d7959df6378dd0c4462d2 100644 |
--- a/cc/layers/texture_layer_impl_unittest.cc |
+++ b/cc/layers/texture_layer_impl_unittest.cc |
@@ -64,11 +64,8 @@ TEST(TextureLayerImplTest, Occlusion) { |
impl.AppendQuadsWithOcclusion(texture_layer_impl, occluded); |
size_t partially_occluded_count = 0; |
- LayerTestCommon::VerifyQuadsCoverRectWithOcclusion( |
- impl.quad_list(), |
- gfx::Rect(layer_size), |
- occluded, |
- &partially_occluded_count); |
+ LayerTestCommon::VerifyQuadsAreOccluded( |
+ impl.quad_list(), occluded, &partially_occluded_count); |
// The layer outputs one quad, which is partially occluded. |
EXPECT_EQ(1u, impl.quad_list().size()); |
EXPECT_EQ(1u, partially_occluded_count); |