| Index: cc/trees/layer_tree_host_common.cc
|
| diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
|
| index 93b33358cd7718b7d3001a87074ff1f183305ac9..e67ddad7db34e4e9daf19cb5ccf908191f5ce587 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -367,10 +367,13 @@ static void ComputeInitialRenderSurfaceList(
|
| DCHECK(layer);
|
| // TODO(crbug.com/726423): LayerImpls should never have invalid PropertyTree
|
| // indices.
|
| - if (!layer || !layer->HasValidPropertyTreeIndices())
|
| + if (!layer)
|
| continue;
|
| -
|
| layer->set_contributes_to_drawn_render_surface(false);
|
| + layer->set_raster_even_if_not_drawn(false);
|
| +
|
| + if (!layer->HasValidPropertyTreeIndices())
|
| + continue;
|
|
|
| bool is_root = layer_tree_impl->IsRootLayer(layer);
|
|
|
|
|