| Index: cc/trees/layer_tree_host_impl.h
|
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
|
| index 0ecbc9635b946683ae3444c86525306c325dfd98..ee7f12cac91e1c2a36c70ebe0f08085bc0ac1b48 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -231,6 +231,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| LayerImplList will_draw_layers;
|
| bool has_no_damage;
|
| bool may_contain_video;
|
| + bool handle_visibility_changed;
|
|
|
| // RenderPassSink implementation.
|
| void AppendRenderPass(std::unique_ptr<RenderPass> render_pass) override;
|
| @@ -379,6 +380,7 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| // Called from LayerTreeImpl.
|
| void OnCanDrawStateChangedForTree();
|
| + void HandleVisibilityChanged() { handle_visibility_changed_ = true; }
|
|
|
| // Implementation.
|
| int id() const { return id_; }
|
| @@ -829,6 +831,7 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| bool requires_high_res_to_draw_;
|
| bool is_likely_to_require_a_draw_;
|
| + bool handle_visibility_changed_;
|
|
|
| // TODO(danakj): Delete the compositor frame sink and all resources when
|
| // it's lost instead of having this bool.
|
|
|