Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 8e0493a8c1af61f5f87ab840f4ae5be1a468df18..db7dc824fd8148a519dc6e80504b3c981faadefe 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -512,6 +512,7 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { |
sync_tree->elastic_overscroll()->PushPendingToActive(); |
sync_tree->PassSwapPromises(std::move(swap_promise_list_)); |
+ swap_promise_list_.clear(); |
sync_tree->set_top_controls_shrink_blink_size( |
top_controls_shrink_blink_size_); |