Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index fa3ba0e599df1d93f2bbd0fdf3c7ce6f33c2a9cd..a0176f25ca6b7b15d58fc3167e4a2767c0678bcc 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1444,6 +1444,10 @@ void LayerTreeHostImpl::OnDraw() { |
client_->OnDrawForOutputSurface(); |
} |
+void LayerTreeHostImpl::ForceSwap() { |
+ SetNeedsCommit(); |
+} |
+ |
void LayerTreeHostImpl::OnCanDrawStateChangedForTree() { |
client_->OnCanDrawStateChanged(CanDraw()); |
} |