diff options
Diffstat (limited to 'cc/layers/layer.cc')
-rw-r--r-- | cc/layers/layer.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc index a3a79b4..526b5dd 100644 --- a/cc/layers/layer.cc +++ b/cc/layers/layer.cc @@ -97,7 +97,8 @@ Layer::Layer(const LayerSettings& settings) replica_layer_(nullptr), client_(nullptr), num_unclipped_descendants_(0), - frame_timing_requests_dirty_(false) { + frame_timing_requests_dirty_(false), + is_hidden_from_property_trees_(false) { if (!settings.use_compositor_animation_timelines) { layer_animation_controller_ = LayerAnimationController::Create(layer_id_); layer_animation_controller_->AddValueObserver(this); @@ -1249,6 +1250,7 @@ void Layer::PushPropertiesTo(LayerImpl* layer) { layer->set_user_scrollable_vertical(user_scrollable_vertical_); layer->SetElementId(element_id_); layer->SetMutableProperties(mutable_properties_); + layer->set_is_hidden_from_property_trees(is_hidden_from_property_trees_); LayerImpl* scroll_parent = nullptr; if (scroll_parent_) { |