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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 1957533002: cc : Track opacity animation changes on effect tree (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
« cc/proto/property_tree.proto ('K') | « cc/trees/property_tree.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 4027cffcb9ec798a38fe8ae5831fc8ed77028e4a..64e467234b0b0519512ab05f79e13c070ca1f571 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -808,6 +808,7 @@ bool AddEffectNodeIfNeeded(
node.data.has_background_filters = !layer->background_filters().IsEmpty();
node.data.has_animated_opacity = has_animated_opacity;
node.data.double_sided = DoubleSided(layer);
+ node.data.is_currently_animating_opacity = layer->OpacityIsAnimating();
if (!is_root) {
// The effect node's transform id is used only when we create a render
« cc/proto/property_tree.proto ('K') | « cc/trees/property_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698