Index: cc/layers/nine_patch_layer_impl_unittest.cc |
diff --git a/cc/layers/nine_patch_layer_impl_unittest.cc b/cc/layers/nine_patch_layer_impl_unittest.cc |
index a173ac7ca98a5e41864aa551c7b37224724a8edc..60aad9ea53be92a6c3660faebff8cc31ad929d18 100644 |
--- a/cc/layers/nine_patch_layer_impl_unittest.cc |
+++ b/cc/layers/nine_patch_layer_impl_unittest.cc |
@@ -265,11 +265,8 @@ TEST(NinePatchLayerImplTest, Occlusion) { |
impl.AppendQuadsWithOcclusion(nine_patch_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 nine quads, three of which are partially occluded, and |
// three fully occluded. |
EXPECT_EQ(6u, impl.quad_list().size()); |