Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index a4af339c96301d23b110602e213d1d92c55aeda0..a25069531a69b3af0264db45310326a1a6817411 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -300,6 +300,8 @@ class CC_EXPORT LayerTreeHost { |
void BreakSwapPromises(SwapPromise::DidNotSwapReason reason); |
+ size_t num_queued_swap_promises() const { return swap_promise_list_.size(); } |
+ |
protected: |
LayerTreeHost(LayerTreeHostClient* client, |
SharedBitmapManager* manager, |