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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 1752993002: cc : Delete LayerImpl::NoteLayerPropertyChangedForSubtree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 102d39211418a484b5bb2b410fe87942e3abf28a..34fb9108b6aec3d999305c4c0146aee2391950ee 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -496,13 +496,16 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) {
sync_tree->UpdatePropertyTreeScrollingAndAnimationFromMainThread();
micro_benchmark_controller_.ScheduleImplBenchmarks(host_impl);
- property_trees_.transform_tree.ResetChangeTracking();
// We don't track changes to effect tree on main thread. But, to preserve any
// change tracking done on active tree's effect tree, we copy it to the main
// thread's effect tree before we push the main thread property trees to
// active tree.
if (property_trees_changed_on_active_tree)
- property_trees_.effect_tree.ResetChangeTracking();
+ property_trees_.ResetAllChangeTracking(
+ PropertyTrees::ResetFlags::ALL_TREES);
+ else
+ property_trees_.ResetAllChangeTracking(
+ PropertyTrees::ResetFlags::TRANSFORM_TREE);
}
void LayerTreeHost::WillCommit() {
« no previous file with comments | « cc/trees/damage_tracker_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698