| Index: cc/trees/layer_tree_impl.h
|
| diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
|
| index 63ac715b5cc7e4ab28522f46f6e6179be6d85795..5e061e5d3e94217241eb6cb3a972edf7c5d4e071 100644
|
| --- a/cc/trees/layer_tree_impl.h
|
| +++ b/cc/trees/layer_tree_impl.h
|
| @@ -142,6 +142,11 @@ class CC_EXPORT LayerTreeImpl {
|
| property_trees_.is_main_thread = false;
|
| property_trees_.is_active = IsActiveTree();
|
| property_trees_.transform_tree.set_source_to_parent_updates_allowed(false);
|
| + // The value of some effect node properties (like is_drawn) depends on
|
| + // whether we are on the active tree or not. So, we need to update the
|
| + // effect tree.
|
| + if (IsActiveTree())
|
| + property_trees_.effect_tree.set_needs_update(true);
|
| }
|
| PropertyTrees* property_trees() { return &property_trees_; }
|
|
|
|
|