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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1975623002: cc : Add LayerToPropertyTreeIndices map to PropertyTrees (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
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index c6ad19227e9bbc9d052310861286e2631f7fa374..be991a7e1d84b31e97c40a5c58af75cddb9be0bc 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1682,7 +1682,8 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame) {
(*frame->render_surface_layer_list)[i]->render_surface()->damage_tracker()->
DidDrawDamagedArea();
}
- active_tree_->ResetAllChangeTracking(PropertyTrees::ResetFlags::ALL_TREES);
+ active_tree_->ResetAllChangeTracking(
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
active_tree_->set_has_ever_been_drawn(true);
devtools_instrumentation::DidDrawFrame(id_);
@@ -1982,7 +1983,7 @@ void LayerTreeHostImpl::ActivateSyncTree() {
pending_tree_->PushPropertiesTo(active_tree_.get());
if (pending_tree_->root_layer())
pending_tree_->property_trees()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
// Now that we've synced everything from the pending tree to the active
// tree, rename the pending tree the recycle tree so we can reuse it on the

Powered by Google App Engine
This is Rietveld 408576698