| Index: services/ui/ws/display_client_compositor_frame_sink.cc
|
| diff --git a/services/ui/ws/display_client_compositor_frame_sink.cc b/services/ui/ws/display_client_compositor_frame_sink.cc
|
| index a7972df07a4d47e9945caa21eeee7fcfd4ad8499..a6284d54677c257dd8a5eb94a130178b883fffd6 100644
|
| --- a/services/ui/ws/display_client_compositor_frame_sink.cc
|
| +++ b/services/ui/ws/display_client_compositor_frame_sink.cc
|
| @@ -65,6 +65,13 @@ void DisplayClientCompositorFrameSink::SubmitCompositorFrame(
|
| last_submitted_frame_size_ = frame_size;
|
| }
|
|
|
| +void DisplayClientCompositorFrameSink::EvictFrame() {
|
| + DCHECK(thread_checker_->CalledOnValidThread());
|
| + if (!compositor_frame_sink_)
|
| + return;
|
| + compositor_frame_sink_->EvictFrame();
|
| +}
|
| +
|
| void DisplayClientCompositorFrameSink::DidReceiveCompositorFrameAck(
|
| const cc::ReturnedResourceArray& resources) {
|
| DCHECK(thread_checker_->CalledOnValidThread());
|
|
|