| Index: cc/layers/tiled_layer_impl_unittest.cc
|
| diff --git a/cc/layers/tiled_layer_impl_unittest.cc b/cc/layers/tiled_layer_impl_unittest.cc
|
| index 05957db430a30331f71d5fafce74bce015ae4ffc..f050dc495ccd2396489cf4015fd829cd7dd988dc 100644
|
| --- a/cc/layers/tiled_layer_impl_unittest.cc
|
| +++ b/cc/layers/tiled_layer_impl_unittest.cc
|
| @@ -365,11 +365,8 @@ TEST_F(TiledLayerImplTest, Occlusion) {
|
| impl.AppendQuadsWithOcclusion(tiled_layer, occluded);
|
|
|
| size_t partially_occluded_count = 0;
|
| - LayerTestCommon::VerifyQuadsCoverRectWithOcclusion(
|
| - impl.quad_list(),
|
| - gfx::Rect(layer_bounds),
|
| - occluded,
|
| - &partially_occluded_count);
|
| + LayerTestCommon::VerifyQuadsAreOccluded(
|
| + impl.quad_list(), occluded, &partially_occluded_count);
|
| // The layer outputs one quad, which is partially occluded.
|
| EXPECT_EQ(100u - 10u, impl.quad_list().size());
|
| EXPECT_EQ(10u + 10u, partially_occluded_count);
|
|
|