| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index 48e9529f3d37a21087bf325dd567c92cd0efbc48..7bcf17930da4626f047b5fa2d95854171ddc2a6c 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -291,7 +291,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
|
|
| int NumDescendantsThatDrawContent() const;
|
| void SetHideLayerAndSubtree(bool hide);
|
| - bool hide_layer_and_subtree() const { return hide_layer_and_subtree_; }
|
|
|
| void SetTransformOrigin(const gfx::Point3F& transform_origin);
|
| gfx::Point3F transform_origin() const { return transform_origin_; }
|
| @@ -685,13 +684,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
|
|
| void UpdatePropertyTreeForScrollingAndAnimationIfNeeded();
|
|
|
| - void set_is_hidden_from_property_trees(bool is_hidden) {
|
| - if (is_hidden == is_hidden_from_property_trees_)
|
| - return;
|
| - is_hidden_from_property_trees_ = is_hidden;
|
| - SetNeedsPushProperties();
|
| - }
|
| - bool LayerIsHidden() const;
|
| + bool IsHidden() const;
|
|
|
| float GetIdealContentsScale() const;
|
|
|
| @@ -797,7 +790,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| bool is_root_for_isolated_group_ : 1;
|
| bool use_parent_backface_visibility_ : 1;
|
| bool draws_content_ : 1;
|
| - bool hide_layer_and_subtree_ : 1;
|
|
|
| // Cache transform_'s invertibility.
|
| bool transform_is_invertible_ : 1;
|
| @@ -895,7 +887,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| // If true, the layer or one of its descendants has a wheel or touch handler.
|
| bool layer_or_descendant_has_input_handler_;
|
| bool sorted_for_recursion_;
|
| - bool is_hidden_from_property_trees_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(LayerImpl);
|
| };
|
|
|