Chromium Code Reviews| Index: cc/trees/layer_tree_impl.cc |
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
| index d1bfa3583abdf637c4155c7f4e1b8172ccbe179b..1e7a2d4e6847544ab5aabbdaafd356f212de43fb 100644 |
| --- a/cc/trees/layer_tree_impl.cc |
| +++ b/cc/trees/layer_tree_impl.cc |
| @@ -1144,7 +1144,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) { |
| size_t layers_updated_count = 0; |
| bool tile_priorities_updated = false; |
| for (PictureLayerImpl* layer : picture_layers_) { |
| - if (!layer->contributes_to_drawn_render_surface()) |
| + if (!layer->HasValidTilePriorities()) |
|
danakj
2017/05/25 15:49:02
Is there a test for this?
Khushal
2017/05/25 22:43:23
Done. UpdatedTilingsForNonDrawingLayers.
|
| continue; |
| ++layers_updated_count; |
| tile_priorities_updated |= layer->UpdateTiles(); |