| Index: content/browser/compositor/delegated_frame_host.cc
|
| diff --git a/content/browser/compositor/delegated_frame_host.cc b/content/browser/compositor/delegated_frame_host.cc
|
| index 7f3961b69696f9ee1eb4b2215f0b00f3e8e7aa7c..ccf962abd6644b36eb1d6baa1428a75910b148c8 100644
|
| --- a/content/browser/compositor/delegated_frame_host.cc
|
| +++ b/content/browser/compositor/delegated_frame_host.cc
|
| @@ -349,6 +349,10 @@ void DelegatedFrameHost::SwapDelegatedFrame(
|
| // the DelegatedRendererLayer.
|
| EvictDelegatedFrame();
|
|
|
| + surface_factory_.reset();
|
| + if (!surface_returned_resources_.empty())
|
| + SendReturnedDelegatedResources(last_output_surface_id_);
|
| +
|
| // Drop the cc::DelegatedFrameResourceCollection so that we will not return
|
| // any resources from the old output surface with the new output surface id.
|
| if (resource_collection_.get()) {
|
|
|