Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / cc / layers / io_surface_layer_impl_unittest.cc
index e5ee789..c9efd74 100644 (file)
@@ -49,11 +49,8 @@ TEST(IOSurfaceLayerImplTest, Occlusion) {
     impl.AppendQuadsWithOcclusion(io_surface_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);