Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 48c6f4732d6cbd83bb327a1107a31baf7146aa6d..1068069c57a553097320afbca898cd36956d0e55 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -188,6 +188,11 @@ class CC_EXPORT LayerTreeImpl { |
void ForceRedrawNextActivation() { next_activation_forces_redraw_ = true; } |
+ void set_has_ever_been_drawn(bool has_drawn) { |
+ has_ever_been_drawn_ = has_drawn; |
+ } |
+ bool has_ever_been_drawn() const { return has_ever_been_drawn_; } |
+ |
void set_ui_resource_request_queue(const UIResourceRequestQueue& queue); |
const LayerImplList& RenderSurfaceLayerList() const; |
@@ -330,6 +335,8 @@ class CC_EXPORT LayerTreeImpl { |
bool next_activation_forces_redraw_; |
+ bool has_ever_been_drawn_; |
+ |
ScopedPtrVector<SwapPromise> swap_promise_list_; |
UIResourceRequestQueue ui_resource_request_queue_; |