Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2925213002: cc: Mark layers with invalid property tree indices as non-drawable. (Closed)
Patch Set: .. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index ff443e2eda43fb8828f89955a7027de3bbd6cd3b..c9c729d32d014a59d63e81a0cbb80d7939cb4ef4 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -851,6 +851,7 @@ void FindLayersThatNeedUpdates(LayerTreeImpl* layer_tree_impl,
// removed as layer_impl should not be nullptr here.
if (!layer_impl || !layer_impl->HasValidPropertyTreeIndices())
continue;
+
if (!IsRootLayer(layer_impl) &&
LayerShouldBeSkippedForDrawPropertiesComputation(
layer_impl, transform_tree, effect_tree))
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698