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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 2027073002: cc : Use transform node data to determine which transform wins at commit (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_impl.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_builder.cc
diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
index 6b9f8e946527278603c1c4cab5cd5d5d4148a75d..f29f46c46e2b5fea676969bd1b26645c0686b58c 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -516,6 +516,7 @@ bool AddTransformNodeIfNeeded(
DCHECK_NE(node->data.target_id, kInvalidPropertyTreeNodeId);
node->data.has_potential_animation = has_potentially_animated_transform;
+ node->data.is_currently_animating = layer->TransformIsAnimating();
if (has_potentially_animated_transform) {
float maximum_animation_target_scale = 0.f;
if (layer->MaximumTargetScale(&maximum_animation_target_scale)) {
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698