Index: cc/trees/property_tree.h |
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h |
index a9f160ed7f59b99702b325f22a8a5994f8968285..4e3b0aa89e41978861435b45fdff8a320bcece7f 100644 |
--- a/cc/trees/property_tree.h |
+++ b/cc/trees/property_tree.h |
@@ -258,9 +258,9 @@ struct CC_EXPORT EffectNodeData { |
bool has_background_filters; |
bool is_drawn; |
bool has_animated_opacity; |
- // We need to track changes to opacity on the compositor to compute damage |
+ // We need to track changes to effects on the compositor to compute damage |
// rect. |
- bool opacity_changed; |
+ bool effect_changed; |
int num_copy_requests_in_subtree; |
int transform_id; |
int clip_id; |
@@ -528,7 +528,7 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> { |
void UpdateEffects(int id); |
- void UpdateOpacityChanged(EffectNode* node, EffectNode* parent_node); |
+ void UpdateEffectChanged(EffectNode* node, EffectNode* parent_node); |
void ClearCopyRequests(); |
@@ -587,6 +587,9 @@ class CC_EXPORT PropertyTrees final { |
// we did any change tracking so that we can skip copying the change status |
// between property trees when this bool is false. |
bool changed; |
+ // We cache a global bool for full tree damages to avoid walking the entire |
+ // tree. |
+ bool full_tree_damaged; |
int sequence_number; |
void SetInnerViewportContainerBoundsDelta(gfx::Vector2dF bounds_delta); |