| 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 ccbd9e7393ee42373e8fea65dfebf6b39727e481..1997bcfe07b07943dbd4db9e838657825d9a99f3 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -230,6 +230,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;
|
| @@ -378,6 +379,7 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| // Called from LayerTreeImpl.
|
| void OnCanDrawStateChangedForTree();
|
| + void HandleVisibilityChanged() { handle_visibility_changed_ = true; }
|
|
|
| // Implementation.
|
| int id() const { return id_; }
|
| @@ -826,6 +828,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.
|
|
|