Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 8faee1546b6f7e27f42e5833a0f4dd242d56ca7f..323f4a1394d644bcc2289fca94d869b942bd9228 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1179,7 +1179,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()) |
continue; |
++layers_updated_count; |
tile_priorities_updated |= layer->UpdateTiles(); |