Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 7390a323cc116dc96375df781cdf2e809de7155d..2e572cfb83313a8e3d16d7c570508d227f8cb549 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -213,6 +213,9 @@ void SingleThreadProxy::DoCommit(scoped_ptr<ResourceUpdateQueue> queue) { |
layer_tree_host_impl_->resource_provider()); |
update_controller->Finalize(); |
+ layer_tree_host_->SetUIResourceEvictionCount( |
+ layer_tree_host_impl_->ui_resource_eviction_count()); |
+ |
layer_tree_host_->FinishCommitOnImplThread(layer_tree_host_impl_.get()); |
layer_tree_host_impl_->CommitComplete(); |