| Index: cc/layers/io_surface_layer_impl.cc
|
| diff --git a/cc/layers/io_surface_layer_impl.cc b/cc/layers/io_surface_layer_impl.cc
|
| index a741cdefc6f67c4dd7b1c4ea1fb070a5569df128..e64c9e7f0f2431d5039ec5ee6454a7862484d875 100644
|
| --- a/cc/layers/io_surface_layer_impl.cc
|
| +++ b/cc/layers/io_surface_layer_impl.cc
|
| @@ -77,8 +77,10 @@ void IOSurfaceLayerImpl::AppendQuads(
|
|
|
| gfx::Rect quad_rect(content_bounds());
|
| gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect());
|
| - gfx::Rect visible_quad_rect = occlusion_tracker.UnoccludedContentRect(
|
| - quad_rect, draw_properties().target_space_transform);
|
| + gfx::Rect visible_quad_rect =
|
| + occlusion_tracker.GetCurrentOcclusionForLayer(
|
| + draw_properties().target_space_transform)
|
| + .GetUnoccludedContentRect(quad_rect);
|
| if (visible_quad_rect.IsEmpty())
|
| return;
|
|
|
|
|