Chromium Code Reviews| 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 de1e8ffcacd26e2befe65d392552ba699e0a7b75..3731d244179e6d01fbb0b4041d229929eef57cb4 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -1353,7 +1353,7 @@ void LayerTreeHostImpl::ReclaimResources(const CompositorFrameAck* ack) { |
| // aggressively flush here to make sure those DeleteTextures make it to the |
| // GPU process to free up the memory. |
| if (resource_provider_ && !visible_) |
| - resource_provider_->ShallowFlushIfSupported(); |
| + resource_provider_->GetResourceHelper()->ShallowFlushIfSupported(); |
|
danakj
2014/07/09 16:01:33
can we just call output_surface_->...->ShallowFlus
sohanjg
2014/07/10 15:11:06
Done.
|
| } |
| void LayerTreeHostImpl::OnCanDrawStateChangedForTree() { |