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

Unified Diff: cc/layers/layer_impl.cc

Issue 1834883002: cc : Fix layer transform changed tracking bug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index dfd03649b9473dd62d7f8a481a62ea5ac9d4d84c..ebd23f2b79b8359bab3bd965ddd173f33463b06e 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -693,8 +693,8 @@ void LayerImpl::PushLayerPropertyChangedForSubtree() {
// We need to update property trees first as layer property can change
// when its corresponsing property tree node changes.
PropertyTrees* property_trees = layer_tree_impl()->property_trees();
- EffectTree effect_tree = property_trees->effect_tree;
- TransformTree transform_tree = property_trees->transform_tree;
+ EffectTree& effect_tree = property_trees->effect_tree;
+ TransformTree& transform_tree = property_trees->transform_tree;
for (int i = 1; i < static_cast<int>(effect_tree.size()); ++i) {
EffectNode* node = effect_tree.Node(i);
EffectNode* parent_node = effect_tree.parent(node);
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698