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

Unified Diff: cc/trees/layer_tree_host_impl.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
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 8757f14c3abf085e18ee6bc5b8a0e9c85b118f47..c0ee7df2e835eab0bac69a274a9d1077db404cf4 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1710,6 +1710,7 @@ void LayerTreeHostImpl::DrawLayers(FrameData* frame) {
active_tree_->root_layer()->ResetAllChangeTrackingForSubtree();
active_tree_->property_trees()->transform_tree.ResetChangeTracking();
active_tree_->property_trees()->effect_tree.ResetChangeTracking();
+ active_tree_->property_trees()->full_tree_damaged = false;
active_tree_->property_trees()->changed = false;
ajuma 2016/03/02 14:34:10 Would it make sense to add a method to PropertyTre
jaydasika 2016/03/02 16:27:08 Done.
active_tree_->set_has_ever_been_drawn(true);
@@ -2012,6 +2013,7 @@ void LayerTreeHostImpl::ActivateSyncTree() {
if (pending_tree_->root_layer()) {
pending_tree_->property_trees()->transform_tree.ResetChangeTracking();
pending_tree_->property_trees()->effect_tree.ResetChangeTracking();
+ pending_tree_->property_trees()->full_tree_damaged = false;
pending_tree_->property_trees()->changed = false;
}

Powered by Google App Engine
This is Rietveld 408576698