Index: cc/single_thread_proxy.cc |
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc |
index 0cfecccc3be1e5c243bfbd7c1fda11dab316152c..a045c8603d988271df4a48050fa4457e0cc7c6fd 100644 |
--- a/cc/single_thread_proxy.cc |
+++ b/cc/single_thread_proxy.cc |
@@ -338,12 +338,7 @@ bool SingleThreadProxy::commitAndComposite() |
return false; |
// Unlink any texture backings that were deleted |
- PrioritizedTextureManager::BackingList evictedContentsTexturesBackings; |
- { |
- DebugScopedSetImplThread implThread; |
- m_layerTreeHost->contentsTextureManager()->getEvictedBackings(evictedContentsTexturesBackings); |
- } |
- m_layerTreeHost->contentsTextureManager()->unlinkEvictedBackings(evictedContentsTexturesBackings); |
+ m_layerTreeHost->contentsTextureManager()->unlinkAndClearEvictedBackings(); |
scoped_ptr<ResourceUpdateQueue> queue = make_scoped_ptr(new ResourceUpdateQueue); |
m_layerTreeHost->updateLayers(*(queue.get()), m_layerTreeHostImpl->memoryAllocationLimitBytes()); |