Chromium Code Reviews| Index: cc/surfaces/direct_compositor_frame_sink.cc |
| diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc |
| index 01239ee9f822df7c1f589bf8691e0857cf804881..46b216d7166f5878a0aa1ff87d24847aa777e691 100644 |
| --- a/cc/surfaces/direct_compositor_frame_sink.cc |
| +++ b/cc/surfaces/direct_compositor_frame_sink.cc |
| @@ -32,7 +32,6 @@ DirectCompositorFrameSink::DirectCompositorFrameSink( |
| display_(display), |
| factory_(frame_sink_id, surface_manager, this) { |
| DCHECK(thread_checker_.CalledOnValidThread()); |
| - capabilities_.can_force_reclaim_resources = true; |
| // Display and DirectCompositorFrameSink share a GL context, so sync |
| // points aren't needed when passing resources between them. |
| capabilities_.delegated_sync_points_required = false; |
| @@ -50,7 +49,6 @@ DirectCompositorFrameSink::DirectCompositorFrameSink( |
| display_(display), |
| factory_(frame_sink_id_, surface_manager, this) { |
| DCHECK(thread_checker_.CalledOnValidThread()); |
| - capabilities_.can_force_reclaim_resources = true; |
| } |
| DirectCompositorFrameSink::~DirectCompositorFrameSink() { |
| @@ -102,11 +100,6 @@ void DirectCompositorFrameSink::SubmitCompositorFrame(CompositorFrame frame) { |
| base::Unretained(this))); |
| } |
| -void DirectCompositorFrameSink::ForceReclaimResources() { |
| - if (delegated_local_frame_id_.is_valid()) |
| - factory_.ClearSurface(); |
|
danakj
2017/01/04 18:43:38
Good news/bad news. This is the only caller of Cle
ericrk
2017/01/11 19:17:54
Removed this and the now unused "EvictFrame" I fou
|
| -} |
| - |
| void DirectCompositorFrameSink::ReturnResources( |
| const ReturnedResourceArray& resources) { |
| if (client_) |