| 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 dd3c6299aaa0ac3966389b1b49fc9ed2bfd3e2f3..900c1a821965bf1c4d10a23842345921732cb246 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1489,11 +1489,12 @@ void LayerTreeHostImpl::DidReceiveTextureInUseResponses(
|
| NOTREACHED();
|
| }
|
|
|
| -void LayerTreeHostImpl::ReclaimResources(const CompositorFrameAck* ack) {
|
| +void LayerTreeHostImpl::ReclaimResources(
|
| + const ReturnedResourceArray& resources) {
|
| // TODO(piman): We may need to do some validation on this ack before
|
| // processing it.
|
| if (renderer_)
|
| - renderer_->ReceiveSwapBuffersAck(*ack);
|
| + renderer_->ReclaimResources(resources);
|
|
|
| // In OOM, we now might be able to release more resources that were held
|
| // because they were exported.
|
|
|