| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index aff32fa02772b336f335d39ac743d243240d8719..6c57fc66f55cdeda0adf0dfc9f2555aaa16ac72d 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -141,6 +141,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
|
|
| void SetOpacity(float opacity);
|
| float opacity() const { return opacity_; }
|
| + float EffectiveOpacity() const;
|
| bool OpacityIsAnimating() const;
|
| bool HasPotentiallyRunningOpacityAnimation() const;
|
| virtual bool OpacityCanAnimateOnImplThread() const;
|
| @@ -561,12 +562,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| bool layer_or_descendant_is_drawn();
|
| void set_sorted_for_recursion(bool sorted_for_recursion);
|
| bool sorted_for_recursion();
|
| - 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();
|
| - }
|
|
|
| // LayerAnimationValueProvider implementation.
|
| gfx::ScrollOffset ScrollOffsetForAnimation() const override;
|
| @@ -793,7 +788,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
|
|
| std::vector<FrameTimingRequest> frame_timing_requests_;
|
| bool frame_timing_requests_dirty_;
|
| - bool is_hidden_from_property_trees_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Layer);
|
| };
|
|
|