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

Unified Diff: cc/trees/property_tree.cc

Issue 1948163002: cc: Ensure damage in property tree nodes gets propagated to descendants (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index b6be2aa9ed57a3440825f5ef961e82866a35d9e3..f2530fd0dd022d33fdc0cff8cefab04533fd44b0 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -1943,6 +1943,9 @@ void PropertyTrees::PushChangeTrackingTo(PropertyTrees* tree) {
target_node->data.transform_changed = true;
}
}
+ // Ensure that change tracking is updated even if property trees don't have
+ // other reasons to get updated.
+ tree->UpdateChangeTracking();
tree->full_tree_damaged = full_tree_damaged;
}
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698