Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 47b6351ca6f8d7bdc1b503cc2ec77a5e63d4afc6..4fbf8ee24a9c4eac5b4a4160870c27e5616c77bb 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -286,6 +286,7 @@ class CC_EXPORT LayerTreeImpl { |
// Call this function when you expect there to be a swap buffer. |
// See swap_promise.h for how to use SwapPromise. |
void QueueSwapPromise(scoped_ptr<SwapPromise> swap_promise); |
+ void QueueActiveTreeSwapPromise(scoped_ptr<SwapPromise> swap_promise); |
danakj
2015/08/14 17:47:39
Explain this in a comment?
Tobias Sargeant
2015/08/18 11:22:15
Done.
|
// Take the |new_swap_promise| and append it to |swap_promise_list_|. |
void PassSwapPromises(ScopedPtrVector<SwapPromise>* new_swap_promise); |
@@ -446,6 +447,7 @@ class CC_EXPORT LayerTreeImpl { |
bool has_ever_been_drawn_; |
ScopedPtrVector<SwapPromise> swap_promise_list_; |
+ ScopedPtrVector<SwapPromise> active_tree_swap_promise_list_; |
UIResourceRequestQueue ui_resource_request_queue_; |