Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 9cdc06c38420612cfa00e6914e950e0e73d836f5..41929836552c3c4b06702db90535b713df411ea7 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -336,6 +336,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient { |
// Call this function when you expect there to be a swap buffer. |
// See swap_promise.h for how to use SwapPromise. |
void QueueSwapPromise(std::unique_ptr<SwapPromise> swap_promise); |
+ void QueueForcedRedrawSwapPromise(std::unique_ptr<SwapPromise> swap_promise); |
void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); |
@@ -510,6 +511,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient { |
void CalculateLCDTextMetricsCallback(Layer* layer); |
void NotifySwapPromiseMonitorsOfSetNeedsCommit(); |
+ void NotifySwapPromiseMonitorsOfSetNeedsForcedRedraw(); |
void SetPropertyTreesNeedRebuild(); |
@@ -596,6 +598,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient { |
std::unique_ptr<ClientPictureCache> client_picture_cache_; |
std::vector<std::unique_ptr<SwapPromise>> swap_promise_list_; |
+ std::vector<std::unique_ptr<SwapPromise>> forced_redraw_swap_promises_; |
std::set<SwapPromiseMonitor*> swap_promise_monitor_; |
PropertyTrees property_trees_; |